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.38-rc1~476^2~231 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19a0b67afd174c4db261d587b5c67704dcd53c17;p=pandora-kernel.git 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 Signed-off-by: Jesse Brandeburg Tested-by: Emil Tantilov Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed