1. 22 8月, 2017 1 次提交
  2. 08 8月, 2017 2 次提交
  3. 07 8月, 2017 1 次提交
  4. 03 8月, 2017 1 次提交
  5. 20 7月, 2017 1 次提交
  6. 14 6月, 2017 2 次提交
  7. 05 6月, 2017 1 次提交
  8. 02 6月, 2017 1 次提交
  9. 01 6月, 2017 1 次提交
  10. 18 5月, 2017 2 次提交
  11. 21 4月, 2017 1 次提交
  12. 17 4月, 2017 1 次提交
  13. 09 4月, 2017 2 次提交
  14. 08 4月, 2017 1 次提交
  15. 29 3月, 2017 1 次提交
  16. 07 2月, 2017 3 次提交
  17. 30 1月, 2017 2 次提交
  18. 27 1月, 2017 1 次提交
  19. 25 1月, 2017 1 次提交
  20. 21 1月, 2017 1 次提交
  21. 19 1月, 2017 2 次提交
  22. 10 1月, 2017 2 次提交
  23. 08 1月, 2017 1 次提交
  24. 07 1月, 2017 1 次提交
  25. 05 1月, 2017 1 次提交
  26. 30 11月, 2016 1 次提交
  27. 28 11月, 2016 1 次提交
  28. 20 9月, 2016 1 次提交
  29. 16 9月, 2016 1 次提交
  30. 25 8月, 2016 1 次提交
    • V
      net: dsa: rename switch operations structure · 9d490b4e
      Vivien Didelot 提交于
      Now that the dsa_switch_driver structure contains only function pointers
      as it is supposed to, rename it to the more appropriate dsa_switch_ops,
      uniformly to any other operations structure in the kernel.
      
      No functional changes here, basically just the result of something like:
      s/dsa_switch_driver *drv/dsa_switch_ops *ops/g
      
      However keep the {un,}register_switch_driver functions and their
      dsa_switch_drivers list as is, since they represent the -- likely to be
      deprecated soon -- legacy DSA registration framework.
      
      In the meantime, also fix the following checks from checkpatch.pl to
      make it happy with this patch:
      
          CHECK: Comparison to NULL could be written "!ops"
          #403: FILE: net/dsa/dsa.c:470:
          +	if (ops == NULL) {
      
          CHECK: Comparison to NULL could be written "ds->ops->get_strings"
          #773: FILE: net/dsa/slave.c:697:
          +		if (ds->ops->get_strings != NULL)
      
          CHECK: Comparison to NULL could be written "ds->ops->get_ethtool_stats"
          #824: FILE: net/dsa/slave.c:785:
          +	if (ds->ops->get_ethtool_stats != NULL)
      
          CHECK: Comparison to NULL could be written "ds->ops->get_sset_count"
          #835: FILE: net/dsa/slave.c:798:
          +		if (ds->ops->get_sset_count != NULL)
      
          total: 0 errors, 0 warnings, 4 checks, 784 lines checked
      Signed-off-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
      Acked-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9d490b4e
  31. 23 8月, 2016 1 次提交