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@xxxxxxxxxxxx> That looks fine to me. Reviewed-by: Keith Busch <keith.busch@xxxxxxxxx>