mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
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:
|
History
|
|
|---|---|---|
| .. | ||
| ifcvf_base.c | ||
| ifcvf_base.h | ||
| ifcvf_main.c | ||
| Makefile | ||