From: Dean Nelson Date: Thu, 11 Nov 2010 05:50:25 +0000 (+0000) Subject: e1000: fix return value not set on error X-Git-Tag: v2.6.37.1~194 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb9a2a905602b02474d257c4a26c90a8dc36c70c;p=pandora-kernel.git 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 Signed-off-by: Jesse Brandeburg Tested-by: Emil Tantilov Signed-off-by: Jeff Kirsher Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed