diff options
author | Brian Norris <briannorris@chromium.org> | 2017-05-23 12:36:58 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-05-26 16:38:50 -0500 |
commit | 449e2f9e95d803961635d725f6482e5e995b7554 (patch) | |
tree | 8a600d73190a41b34f3e45e7b3f527de6dbf606f /drivers/block/nbd.c | |
parent | 4d071c3238987325b9e50e33051a40d1cce311cc (diff) | |
download | linux-449e2f9e95d803961635d725f6482e5e995b7554.tar.bz2 |
PCI: Make error code types consistent in pci_{read,write}_config_*
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 to be translated.
Fixes: 4b1038834739 ("PCI: Don't attempt config access to disconnected devices")
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Diffstat (limited to 'drivers/block/nbd.c')
0 files changed, 0 insertions, 0 deletions