mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-28 16:56:26 +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 |