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-12-09 09:46:54 -08:00
2018-11-01 18:34:46 -07:00
2018-11-16 09:31:59 -06:00
2018-10-29 15:16:01 -07:00
2018-10-27 09:24:24 -07:00
2018-10-16 11:13:50 +02:00
2018-12-02 12:19:44 -08:00
2018-12-14 15:36:56 +01:00
2018-10-11 12:12:55 +02:00
2018-11-08 17:49:04 -06:00
2018-12-12 09:39:54 -05:00
2018-11-09 16:41:58 -06:00
2018-10-26 14:36:21 -07:00
2018-10-22 17:30:06 +01:00
2018-11-01 08:42:21 -07:00
2018-10-26 12:09:58 -07:00
2018-10-29 15:16:01 -07:00
2018-12-02 20:55:23 -08:00
2018-12-18 09:38:34 -08:00
2018-10-31 08:54:16 -07:00
2018-11-28 08:33:55 -08:00
2018-12-12 18:24:32 -08:00
2018-10-11 09:16:44 -07:00
2018-12-11 14:23:17 +01:00
2018-10-31 11:01:38 -07:00
2018-12-02 12:15:55 -08:00