1. 21 3月, 2013 3 次提交
  2. 15 3月, 2013 1 次提交
  3. 05 2月, 2013 1 次提交
  4. 15 1月, 2013 1 次提交
  5. 04 11月, 2012 1 次提交
  6. 08 10月, 2012 1 次提交
    • P
      drivers/net/ethernet/renesas/sh_eth.c: fix error return code · 043c4789
      Peter Senna Tschudin 提交于
      The function sh_eth_drv_probe() return 0 for success and negative value
      for most of its internal tests failures. There is one exception
      that is error case going to out_release:. For this error case, the
      function abort its success execution path, but returns non negative
      value, making it difficult for a caller function to notice the error.
      
      This patch fixes the error case that do not return negative value.
      
      This was found by Coccinelle, but the code change was made by hand.
      This patch is not robot generated.
      
      A simplified version of the semantic match that finds this problem is
      as follows: (http://coccinelle.lip6.fr/)
      
      // <smpl>
      (
      if@p1 (\(ret < 0\|ret != 0\))
       { ... return ret; }
      |
      ret@p1 = 0
      )
      ... when != ret = e1
          when != &ret
      *if(...)
      {
        ... when != ret = e2
            when forall
       return ret;
      }
      // </smpl>
      Signed-off-by: NPeter Senna Tschudin <peter.senna@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      043c4789
  7. 20 8月, 2012 1 次提交
  8. 27 6月, 2012 4 次提交
  9. 26 6月, 2012 2 次提交
  10. 23 6月, 2012 1 次提交
  11. 30 5月, 2012 1 次提交
  12. 05 4月, 2012 1 次提交
  13. 02 4月, 2012 1 次提交
  14. 28 3月, 2012 1 次提交
  15. 17 2月, 2012 5 次提交
  16. 16 2月, 2012 1 次提交
  17. 09 2月, 2012 1 次提交
  18. 08 2月, 2012 2 次提交
  19. 01 2月, 2012 1 次提交
  20. 17 1月, 2012 1 次提交
  21. 11 1月, 2012 1 次提交
  22. 06 1月, 2012 1 次提交
  23. 29 11月, 2011 1 次提交
    • A
      net/ethernet: convert drivers/net/ethernet/* to use module_platform_driver() · db62f684
      Axel Lin 提交于
      This patch converts the drivers in drivers/net/ethernet/* to use the
      module_platform_driver() macro which makes the code smaller and a bit
      simpler.
      
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Pantelis Antoniou <pantelis.antoniou@gmail.com>
      Cc: Vitaly Bordug <vbordug@ru.mvista.com>
      Cc: Wan ZongShun <mcuos.com@gmail.com>
      Cc: Nicolas Pitre <nico@fluxnic.net>
      Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
      Cc: Marc Kleine-Budde <mkl@pengutronix.de>
      Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
      Cc: Jiri Pirko <jpirko@redhat.com>
      Cc: Daniel Hellstrom <daniel@gaisler.com>
      Cc: Alexey Dobriyan <adobriyan@gmail.com>
      Cc: Tobias Klauser <tklauser@distanz.ch>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Jiri Kosina <jkosina@suse.cz>
      Cc: Richard Cochran <richard.cochran@omicron.at>
      Cc: Jonas Bonn <jonas@southpole.se>
      Cc: Sebastian Poehn <sebastian.poehn@belden.com>
      Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Cc: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
      Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Acked-by: NWan ZongShun <mcuos.com@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      db62f684
  24. 04 10月, 2011 1 次提交
    • Y
      net: sh_eth: fix build failure · 0654011d
      Yoshihiro Shimoda 提交于
      The following commit removed some including headers:
       "net: sh_eth: move the asm/sh_eth.h to include/linux/"
       (commit id: d4fa0e35)
      
      Then, the build failure happened on the linux-next:
      
      drivers/net/ethernet/renesas/sh_eth.c:601: error: 'THIS_MODULE' undeclared here (not in a function)
      drivers/net/ethernet/renesas/sh_eth.c:1970: error: expected declaration specifiers or '...' before string constant
      drivers/net/ethernet/renesas/sh_eth.c:1970: warning: data definition has no type or storage class
      drivers/net/ethernet/renesas/sh_eth.c:1970: warning: type defaults to 'int' in declaration of 'MODULE_AUTHOR'
      drivers/net/ethernet/renesas/sh_eth.c:1970: warning: function declaration isn't a prototype
      drivers/net/ethernet/renesas/sh_eth.c:1971: error: expected declaration specifiers or '...' before string constant
      drivers/net/ethernet/renesas/sh_eth.c:1971: warning: data definition has no type or storage class
      drivers/net/ethernet/renesas/sh_eth.c:1971: warning: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION'
      drivers/net/ethernet/renesas/sh_eth.c:1971: warning: function declaration isn't a prototype
      drivers/net/ethernet/renesas/sh_eth.c:1972: error: expected declaration specifiers or '...' before string constant
      drivers/net/ethernet/renesas/sh_eth.c:1972: warning: data definition has no type or storage class
      drivers/net/ethernet/renesas/sh_eth.c:1972: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE'
      drivers/net/ethernet/renesas/sh_eth.c:1972: warning: function declaration isn't a prototype
      
      This patch fixes the issue. This patch also get back include/kernel.h
      and linux/spinlock.h.
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0654011d
  25. 29 9月, 2011 2 次提交
  26. 18 8月, 2011 1 次提交
  27. 13 8月, 2011 1 次提交
  28. 06 7月, 2011 1 次提交