diff options
author | Kevin Lo <kevlo@kevlo.org> | 2020-12-20 17:18:19 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-02-10 11:29:13 +0300 |
commit | 0cda160418583c066a17a2881babd3522c08e859 (patch) | |
tree | f0c8d4e6e29054a7423963556c8737601b1d2db4 /net/lapb/lapb_out.c | |
parent | 8e081627f3a7f733a4955ee40b385c972f010f05 (diff) | |
download | linux-0cda160418583c066a17a2881babd3522c08e859.tar.xz |
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 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions