linux/drivers/net/ethernet/intel/e1000e
Bruce Allan d7eb33840b 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 <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2012-02-13 13:15:03 -08:00
..
80003es2lan.c e1000e: cleanup: remove unnecessary assignments just before returning 2012-02-13 12:28:44 -08:00
82571.c e1000e: cleanup: always return 0 2012-02-13 12:28:55 -08:00
defines.h e1000e: update copyright year 2012-01-26 19:01:17 -08:00
e1000.h e1000e: update copyright year 2012-01-26 19:01:17 -08:00
ethtool.c e1000e: remove unnecessary parentheses 2012-02-10 00:06:44 -08:00
hw.h e1000e: update copyright year 2012-01-26 19:01:17 -08:00
ich8lan.c e1000e: potentially incorrect return for e1000_set_d3_lplu_state_ich8lan 2012-02-13 13:15:03 -08:00
mac.c e1000e: cleanup: always return 0 2012-02-13 12:28:55 -08:00
Makefile e1000e: update copyright year 2012-01-26 19:01:17 -08:00
manage.c e1000e: remove unnecessary parentheses 2012-02-10 00:06:44 -08:00
netdev.c e1000e: cleanup: rename goto labels to be more meaningful 2012-02-13 12:28:19 -08:00
nvm.c e1000e: cleanup: use goto for common work needed by multiple exit points 2012-02-13 12:28:10 -08:00
param.c e1000e: update copyright year 2012-01-26 19:01:17 -08:00
phy.c e1000e: cleanup: always return 0 2012-02-13 12:28:55 -08:00