Star64_linux/drivers/net/ethernet/qlogic/netxen
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
..
Makefile
netxen_nic.h
netxen_nic_ctx.c
netxen_nic_ethtool.c
netxen_nic_hdr.h
netxen_nic_hw.c
netxen_nic_hw.h
netxen_nic_init.c net: netxen: fix a missing check and an uninitialized use 2018-12-21 09:01:47 -08:00
netxen_nic_main.c pci-v4.20-changes 2018-10-25 06:50:48 -07:00