1. 07 6月, 2012 1 次提交
    • J
      ethernet: Remove casts to same type · 64699336
      Joe Perches 提交于
      Adding casts of objects to the same type is unnecessary
      and confusing for a human reader.
      
      For example, this cast:
      
              int y;
              int *p = (int *)&y;
      
      I used the coccinelle script below to find and remove these
      unnecessary casts.  I manually removed the conversions this
      script produces of casts with __force, __iomem and __user.
      
      @@
      type T;
      T *p;
      @@
      
      -       (T *)p
      +       p
      
      A function in atl1e_main.c was passed a const pointer
      when it actually modified elements of the structure.
      
      Change the argument to a non-const pointer.
      
      A function in stmmac needed a __force to avoid a sparse
      warning.  Added it.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      64699336
  2. 07 3月, 2012 1 次提交
  3. 24 2月, 2012 1 次提交
  4. 01 2月, 2012 1 次提交
  5. 06 1月, 2012 1 次提交
  6. 04 1月, 2012 1 次提交
  7. 17 11月, 2011 1 次提交
  8. 14 11月, 2011 1 次提交
  9. 18 8月, 2011 1 次提交
  10. 11 8月, 2011 1 次提交
  11. 22 7月, 2011 1 次提交
  12. 13 7月, 2011 1 次提交
  13. 24 6月, 2011 1 次提交
  14. 30 4月, 2011 1 次提交
    • D
      ethtool: cosmetic: Use ethtool ethtool_cmd_speed API · 70739497
      David Decotigny 提交于
      This updates the network drivers so that they don't access the
      ethtool_cmd::speed field directly, but use ethtool_cmd_speed()
      instead.
      
      For most of the drivers, these changes are purely cosmetic and don't
      fix any problem, such as for those 1GbE/10GbE drivers that indirectly
      call their own ethtool get_settings()/mii_ethtool_gset(). The changes
      are meant to enforce code consistency and provide robustness with
      future larger throughputs, at the expense of a few CPU cycles for each
      ethtool operation.
      
      All drivers compiled with make allyesconfig ion x86_64 have been
      updated.
      
      Tested: make allyesconfig on x86_64 + e1000e/bnx2x work
      Signed-off-by: NDavid Decotigny <decot@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      70739497
  15. 18 4月, 2011 1 次提交
  16. 09 4月, 2011 1 次提交
  17. 31 3月, 2011 1 次提交
  18. 15 2月, 2011 3 次提交
  19. 12 1月, 2011 1 次提交
  20. 11 12月, 2010 1 次提交
  21. 29 11月, 2010 1 次提交
  22. 16 11月, 2010 4 次提交
  23. 13 11月, 2010 4 次提交
  24. 02 11月, 2010 1 次提交
  25. 28 9月, 2010 1 次提交
  26. 05 8月, 2010 1 次提交
  27. 21 7月, 2010 1 次提交
  28. 13 7月, 2010 1 次提交
  29. 09 7月, 2010 1 次提交
  30. 29 6月, 2010 1 次提交