From: Bruce Allan Date: Wed, 8 Feb 2012 02:55:14 +0000 (+0000) Subject: e1000e: potentially incorrect return for e1000_set_d3_lplu_state_ich8lan X-Git-Tag: v3.4-rc1~177^2~305^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7eb33840bee3c8de3f64f3861350bcfac3eaf82;p=pandora-kernel.git e1000e: potentially incorrect return for e1000_set_d3_lplu_state_ich8lan In the unlikely event that e1e_wphy() returns an error, the returned error code is not propogated to the caller of e1000_set_d3_lplu_state_ich8lan(). With this change, there is a rare possibility that ret_val might not get set so it must be initialized. Signed-off-by: Bruce Allan Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed