1. 25 5月, 2010 1 次提交
  2. 14 5月, 2010 1 次提交
    • J
      drivers/net: Remove unnecessary returns from void function()s · a4b77097
      Joe Perches 提交于
      This patch removes from drivers/net/ all the unnecessary
      return; statements that precede the last closing brace of
      void functions.
      
      It does not remove the returns that are immediately
      preceded by a label as gcc doesn't like that.
      
      It also does not remove null void functions with return.
      
      Done via:
      $ grep -rP --include=*.[ch] -l "return;\n}" net/ | \
        xargs perl -i -e 'local $/ ; while (<>) { s/\n[ \t\n]+return;\n}/\n}/g; print; }'
      
      with some cleanups by hand.
      
      Compile tested x86 allmodconfig only.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a4b77097
  3. 15 4月, 2010 1 次提交
  4. 08 4月, 2010 2 次提交
  5. 02 4月, 2010 4 次提交
  6. 31 3月, 2010 1 次提交
  7. 25 3月, 2010 1 次提交
  8. 24 3月, 2010 2 次提交
  9. 09 3月, 2010 2 次提交
  10. 03 3月, 2010 1 次提交
  11. 02 3月, 2010 1 次提交
  12. 23 2月, 2010 1 次提交
  13. 20 2月, 2010 2 次提交
  14. 19 2月, 2010 1 次提交
  15. 18 2月, 2010 4 次提交
  16. 16 2月, 2010 1 次提交
  17. 13 2月, 2010 6 次提交
  18. 02 2月, 2010 1 次提交
  19. 29 1月, 2010 1 次提交
  20. 28 1月, 2010 1 次提交
  21. 22 1月, 2010 1 次提交
    • S
      be2net: fix bug in rx page posting · 26d92f92
      Sathya Perla 提交于
      Pages are posted to the rxq in such a way that more than one frag
      can share the page. The last frag that uses the page unmaps the
      page.  In the case when a page is not fully used (due to lack of space in rxq)
      the last frag that uses the page is not being set as a "last_page_user";
      instead, the next frag in the rxq is incorrectly being set.
      
      The fix has also been tested on ppc64 with 64k pages...
      Signed-off-by: NSathya Perla <sathyap@serverengines.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      26d92f92
  22. 12 12月, 2009 1 次提交
  23. 04 12月, 2009 3 次提交