aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2017-11-21 20:46:49 +0100
committerDavid S. Miller <davem@davemloft.net>2017-11-28 10:55:22 -0500
commitdea521a2b9f96e905fa2bb2f95e23ec00c2ec436 (patch)
treec1599f974fdd5a4951372391da0105526489246d /drivers/net/wan
parentnet: phy: marvell10g: fix the PHY id mask (diff)
downloadlinux-dev-dea521a2b9f96e905fa2bb2f95e23ec00c2ec436.tar.xz
linux-dev-dea521a2b9f96e905fa2bb2f95e23ec00c2ec436.zip
bnxt_en: Fix an error handling path in 'bnxt_get_module_eeprom()'
Error code returned by 'bnxt_read_sfp_module_eeprom_info()' is handled a few lines above when reading the A0 portion of the EEPROM. The same should be done when reading the A2 portion of the EEPROM. In order to correctly propagate an error, update 'rc' in this 2nd call as well, otherwise 0 (success) is returned. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan')
0 files changed, 0 insertions, 0 deletions