diff options
author | Kevin Lo <kevlo@kevlo.org> | 2020-12-20 22:18:19 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-02-10 09:25:27 +0100 |
commit | ec68581f7479fd2bc4d7bc1b117d53affb7cbba5 (patch) | |
tree | 1c673a2f3425f9a162b5b6112ccd4275b74ea9ab /net/lapb/lapb_out.c | |
parent | 5ce999efcaa7efc430d7fd024c1d7920af5c59d0 (diff) |
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