e1000e: add check on e1e_wphy() return value
authorGustavo A R Silva <garsilva@embeddedor.com>
Tue, 20 Jun 2017 21:22:34 +0000 (16:22 -0500)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 9 Aug 2017 00:44:53 +0000 (17:44 -0700)
commitd75372a2daf5dc48207ee9e5592917e893cddb87
tree259557a7b847ab0998831c484c07d2cb61a45aaf
parent26bd4e2db06be8a367cba076c6600b4d5c3e65af
e1000e: add check on e1e_wphy() return value

Check return value from call to e1e_wphy(). This value is being
checked during previous calls to function e1e_wphy() and it seems
a check was missing here.

Addresses-Coverity-ID: 1226905
Signed-off-by: Gustavo A R Silva <garsilva@embeddedor.com>
Reviewed-by: Ethan Zhao <ethan.zhao@oracle.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/ich8lan.c