aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_mac.c
diff options
context:
space:
mode:
authorKevin Lo <kevlo@kevlo.org>2020-12-20 22:18:19 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-10 09:29:13 +0100
commit0cda160418583c066a17a2881babd3522c08e859 (patch)
treef0c8d4e6e29054a7423963556c8737601b1d2db4 /drivers/net/ethernet/intel/igc/igc_mac.c
parent8e081627f3a7f733a4955ee40b385c972f010f05 (diff)
downloadkernel_replicant_linux-0cda160418583c066a17a2881babd3522c08e859.tar.gz
kernel_replicant_linux-0cda160418583c066a17a2881babd3522c08e859.tar.bz2
kernel_replicant_linux-0cda160418583c066a17a2881babd3522c08e859.zip
igc: set the default return value to -IGC_ERR_NVM in igc_write_nvm_srwr
[ Upstream commit ebc8d125062e7dccb7922b2190b097c20d88ad96 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_mac.c')
0 files changed, 0 insertions, 0 deletions