diff options
author | Kangjie Lu <[email protected]> | 2018-12-21 00:22:32 -0600 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-12-21 09:01:47 -0800 |
commit | d134e486e831defd26130770181f01dfc6195f7d (patch) | |
tree | ea068e4e901b4d391436c58352a3b37ffd1123a8 /scripts/gdb/linux/lists.py | |
parent | f0c928d878e7d01b613c9ae5c971a6b1e473a938 (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions