Files
linux/drivers
Christophe JAILLET b274406266 bnxt_en: Fix an error handling path in 'bnxt_get_module_eeprom()'
[ Upstream commit dea521a2b9 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-03 17:39:10 +01:00
..
2017-12-14 09:53:13 +01:00
2018-01-17 09:45:27 +01:00
2018-02-03 17:39:00 +01:00
2017-12-29 17:53:46 +01:00
2018-01-17 09:45:27 +01:00
2018-02-03 17:38:53 +01:00
2018-01-02 20:31:05 +01:00
2017-12-17 15:07:56 +01:00