Skip to content
Commit cd0d465b authored by YueHaibing's avatar YueHaibing Committed by Jeff Kirsher
Browse files

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: default avatarYueHaibing <yuehaibing@huawei.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent bad87ee8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment