diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2018-07-19 18:04:09 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-07-19 18:04:23 -0500 |
commit | 1842623850d09b0b1147d4974573aa305658d97f (patch) | |
tree | 24f18b1c09237b2ff8ce447abd23994a7ea53a7b /drivers/infiniband | |
parent | 51259d0022f1965047bb61662f6f0d5a79a6ddb3 (diff) | |
download | talos-op-linux-1842623850d09b0b1147d4974573aa305658d97f.tar.gz talos-op-linux-1842623850d09b0b1147d4974573aa305658d97f.zip |
PCI: Handle error return from pci_reset_bridge_secondary_bus()
Commit 01fd61c0b9bd ("PCI: Add a return type for
pci_reset_bridge_secondary_bus()") added a return value to the function to
return if a device is accessible following a reset. Callers are not
checking the value.
Pass error code up high in the stack if device is not accessible.
Fixes: 01fd61c0b9bd ("PCI: Add a return type for pci_reset_bridge_secondary_bus()")
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions