linux/drivers/net/e1000
Dean Nelson 19a0b67afd e1000: fix return value not set on error
Dean noticed that 'err' wasn't being set when the "goto err_dma"
statement is executed in the following hunk from the commit. It's value
will be zero as a result of a successful call to e1000_init_hw_struct().

This patch changes the error condition to be correctly propagated.

CC: stable@kernel.org
Signed-off-by:  Dean Nelson <dnelson@redhat.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Emil Tantilov <emil.s.tantilov@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2010-12-10 22:12:29 -08:00
..
e1000.h e1000: use work queues 2010-09-23 14:33:37 -07:00
e1000_ethtool.c e1000: use netif_<level> instead of netdev_<level> 2010-07-26 23:37:21 -07:00
e1000_hw.c e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00
e1000_hw.h e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00
e1000_main.c e1000: fix return value not set on error 2010-12-10 22:12:29 -08:00
e1000_osdep.h e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00
e1000_param.c e1000: cleanup unused parameters 2010-05-14 03:06:19 -07:00
Makefile e100, e1000, ixgb: update copyright header and remove LICENSE 2006-09-27 12:53:14 -07:00