diff options
author | Dean Nelson <dnelson@redhat.com> | 2010-11-11 05:50:25 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-17 15:14:01 -0800 |
commit | eb9a2a905602b02474d257c4a26c90a8dc36c70c (patch) | |
tree | 4d134f72c83386a62c0ca178e914b663ff8417f1 /net | |
parent | 8d4a7d18aae3ebb8f08d237d31dc83229d2322df (diff) | |
download | linux-stable-eb9a2a905602b02474d257c4a26c90a8dc36c70c.tar.gz linux-stable-eb9a2a905602b02474d257c4a26c90a8dc36c70c.tar.bz2 linux-stable-eb9a2a905602b02474d257c4a26c90a8dc36c70c.zip |
e1000: fix return value not set on error
commit 19a0b67afd174c4db261d587b5c67704dcd53c17 upstream.
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.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions