mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 23:51:37 +00:00
7821fa101e
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 |