e100: Fix passing zero to 'PTR_ERR' warning in e100_load_ucode_wait
authorYueHaibing <yuehaibing@huawei.com>
Mon, 19 Nov 2018 12:48:19 +0000 (20:48 +0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 20 Dec 2018 19:54:27 +0000 (11:54 -0800)
commitcd0d465bb697a9c7bf66a9fe940f7981232f1676
treed44c0916a1a82c9e29a4b8583d5d936ec5c56800
parentbad87ee82f74707913a27f16d40cd8a1c340b47e
e100: Fix passing zero to 'PTR_ERR' warning in e100_load_ucode_wait

Fix a static code checker warning:
drivers/net/ethernet/intel/e100.c:1349
 e100_load_ucode_wait() warn: passing zero to 'PTR_ERR'

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e100.c