diff options
author | Kevin Lo <kevlo@kevlo.org> | 2020-12-20 22:18:19 +0800 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-02-01 10:04:43 -0800 |
commit | ebc8d125062e7dccb7922b2190b097c20d88ad96 (patch) | |
tree | 79a6ca310078283eb4052672d54f922e341cace2 /drivers/net/ethernet/intel/i40e/i40e_hmc.c | |
parent | 2e99dedc73f004f650b197c9b269c15c7e01ad15 (diff) |
igc: set the default return value to -IGC_ERR_NVM in igc_write_nvm_srwr
This patch sets the default return value to -IGC_ERR_NVM in
igc_write_nvm_srwr. Without this change it wouldn't lead to a shadow RAM
write EEWR timeout.
Fixes: ab4056126813 ("igc: Add NVM support")
Signed-off-by: Kevin Lo <kevlo@kevlo.org>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_hmc.c')
0 files changed, 0 insertions, 0 deletions