1. 07 6月, 2014 1 次提交
  2. 14 5月, 2014 1 次提交
  3. 23 4月, 2014 1 次提交
  4. 25 3月, 2014 1 次提交
  5. 15 3月, 2014 1 次提交
  6. 19 2月, 2014 1 次提交
  7. 22 10月, 2013 1 次提交
  8. 20 4月, 2013 2 次提交
  9. 19 3月, 2013 1 次提交
  10. 09 1月, 2013 1 次提交
  11. 05 12月, 2012 1 次提交
  12. 04 12月, 2012 1 次提交
  13. 04 11月, 2012 1 次提交
  14. 08 9月, 2012 1 次提交
  15. 11 7月, 2012 1 次提交
  16. 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
  17. 07 4月, 2012 1 次提交
  18. 29 3月, 2012 1 次提交
  19. 24 2月, 2012 1 次提交
  20. 07 2月, 2012 1 次提交
  21. 01 2月, 2012 1 次提交
  22. 29 11月, 2011 1 次提交
  23. 17 11月, 2011 1 次提交
  24. 09 11月, 2011 1 次提交
  25. 19 10月, 2011 1 次提交
  26. 08 10月, 2011 1 次提交
  27. 07 10月, 2011 1 次提交
  28. 23 9月, 2011 1 次提交
  29. 18 8月, 2011 1 次提交
  30. 11 8月, 2011 1 次提交
  31. 22 7月, 2011 1 次提交
  32. 22 6月, 2011 2 次提交
  33. 23 5月, 2011 2 次提交
    • P
      Add appropriate <linux/prefetch.h> include for prefetch users · 70c71606
      Paul Gortmaker 提交于
      After discovering that wide use of prefetch on modern CPUs
      could be a net loss instead of a win, net drivers which were
      relying on the implicit inclusion of prefetch.h via the list
      headers showed up in the resulting cleanup fallout.  Give
      them an explicit include via the following $0.02 script.
      
       =========================================
       #!/bin/bash
       MANUAL=""
       for i in `git grep -l 'prefetch(.*)' .` ; do
       	grep -q '<linux/prefetch.h>' $i
       	if [ $? = 0 ] ; then
       		continue
       	fi
      
       	(	echo '?^#include <linux/?a'
       		echo '#include <linux/prefetch.h>'
       		echo .
       		echo w
       		echo q
       	) | ed -s $i > /dev/null 2>&1
       	if [ $? != 0 ]; then
       		echo $i needs manual fixup
       		MANUAL="$i $MANUAL"
       	fi
       done
       echo ------------------- 8\<----------------------
       echo vi $MANUAL
       =========================================
      Signed-off-by: NPaul <paul.gortmaker@windriver.com>
      [ Fixed up some incorrect #include placements, and added some
        non-network drivers and the fib_trie.c case    - Linus ]
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      70c71606
    • P
      drivers/net: add prefetch header for prefetch users · c0cba59e
      Paul Gortmaker 提交于
      After discovering that wide use of prefetch on modern CPUs
      could be a net loss instead of a win, net drivers which were
      relying on the implicit inclusion of prefetch.h via the list
      headers showed up in the resulting cleanup fallout.  Give
      them an explicit include via the following $0.02 script.
      
       =========================================
       #!/bin/bash
       MANUAL=""
       for i in `git grep -l 'prefetch(.*)' .` ; do
       	grep -q '<linux/prefetch.h>' $i
       	if [ $? = 0 ] ; then
       		continue
       	fi
      
       	(	echo '?^#include <linux/?a'
       		echo '#include <linux/prefetch.h>'
       		echo .
       		echo w
       		echo q
       	) | ed -s $i > /dev/null 2>&1
       	if [ $? != 0 ]; then
       		echo $i needs manual fixup
       		MANUAL="$i $MANUAL"
       	fi
       done
       echo ------------------- 8\<----------------------
       echo vi $MANUAL
       =========================================
      Signed-off-by: NPaul <paul.gortmaker@windriver.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c0cba59e
  34. 10 5月, 2011 1 次提交
  35. 30 4月, 2011 2 次提交
  36. 19 4月, 2011 1 次提交