[PATCH] PCI: Make error code types consistent in pci_{read,write}_config_*

Keith Busch keith.busch at intel.com
Wed May 24 23:50:16 PDT 2017

On Tue, May 23, 2017 at 12:36:58PM -0700, Brian Norris wrote:
> Callers normally treat the config space accessors as returning PCBIOS_*
> error codes, not Linux error codes (or they don't look at them at all).
> We have pcibios_err_to_errno(), in case the error code needs translated.
> Fixes: 4b1038834739 ("PCI: Don't attempt config access to disconnected devices")
> Signed-off-by: Brian Norris <briannorris at chromium.org>

That looks fine to me.

Reviewed-by: Keith Busch <keith.busch at intel.com>

More information about the Linux-rockchip mailing list