1. 02 6月, 2017 2 次提交
  2. 01 6月, 2017 2 次提交
  3. 23 5月, 2017 1 次提交
  4. 18 5月, 2017 4 次提交
  5. 21 4月, 2017 1 次提交
  6. 17 4月, 2017 1 次提交
  7. 09 4月, 2017 1 次提交
  8. 08 4月, 2017 1 次提交
  9. 02 4月, 2017 1 次提交
  10. 29 3月, 2017 2 次提交
  11. 16 3月, 2017 1 次提交
  12. 13 3月, 2017 1 次提交
  13. 11 2月, 2017 1 次提交
  14. 07 2月, 2017 4 次提交
  15. 31 1月, 2017 2 次提交
  16. 30 1月, 2017 4 次提交
  17. 27 1月, 2017 1 次提交
  18. 26 1月, 2017 1 次提交
  19. 21 1月, 2017 1 次提交
  20. 19 1月, 2017 1 次提交
  21. 10 1月, 2017 2 次提交
  22. 23 9月, 2016 1 次提交
  23. 16 9月, 2016 1 次提交
  24. 02 9月, 2016 1 次提交
  25. 01 9月, 2016 1 次提交
  26. 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