mirror of
https://github.com/torvalds/linux.git
synced 2026-05-18 03:27:14 +02:00
iosf_mbi_pci_{read,write}_mdr() use pci_{read,write}_config_dword()
that return PCIBIOS_* codes but functions also return -ENODEV which are
not compatible error codes. As neither of the functions are related to
PCI read/write functions, they should return normal errnos.
Convert PCIBIOS_* returns code using pcibios_err_to_errno() into normal
errno before returning it.
Fixes:
|
||
|---|---|---|
| .. | ||
| iosf_mbi.c | ||
| Makefile | ||