mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:46:16 +00:00
7f8825b2a7
ifcvf_init_hw() uses pci_read_config_byte() that returns
PCIBIOS_* codes. The error handling, however, assumes the codes are
normal errnos because it checks for < 0.
Convert the error check to plain non-zero check.
Fixes:
|
||
---|---|---|
.. | ||
ifcvf_base.c | ||
ifcvf_base.h | ||
ifcvf_main.c | ||
Makefile |