Kangjie Lu d134e486e8 net: netxen: fix a missing check and an uninitialized use
When netxen_rom_fast_read() fails, "bios" is left uninitialized and may
contain random value, thus should not be used.

The fix ensures that if netxen_rom_fast_read() fails, we return "-EIO".

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-12-21 09:01:47 -08:00
..
2018-11-23 17:24:24 -08:00
2018-11-23 22:35:38 -08:00
2018-10-25 06:50:48 -07:00
2018-10-25 06:50:48 -07:00