e1000e: Add code to check return values on NVM accesses
authorDavid Ertman <david.m.ertman@intel.com>
Wed, 9 Jul 2014 16:07:42 +0000 (16:07 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 26 Jul 2014 03:51:00 +0000 (20:51 -0700)
commit491a04d2812b0a665bda34ea39875833dc7a1aaf
treedccfd1e8134272c43c712d10f7f83ebadce1b1de
parent493004d04f56fd7d642bdbb2938e17e5f7d622d1
e1000e: Add code to check return values on NVM accesses

Adding code to check and respond to previously ignored return values
from NVM access functions.

Issue discovered through static analysis.

Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/manage.c
drivers/net/ethernet/intel/e1000e/netdev.c
drivers/net/ethernet/intel/e1000e/nvm.c