diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2018-07-20 01:04:15 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-07-20 01:04:23 +0200 |
commit | c6a44ba950d147e15fe6dab6455a52f91d8fe625 (patch) | |
tree | 58f56c334d78a8476d431ac73085931e422fd8f1 /drivers/infiniband | |
parent | PCI: Deprecate pci_reset_bus() and pci_reset_slot() functions (diff) | |
download | linux-c6a44ba950d147e15fe6dab6455a52f91d8fe625.tar.xz linux-c6a44ba950d147e15fe6dab6455a52f91d8fe625.zip |
PCI: Rename pci_try_reset_bus() to pci_reset_bus()
Now that the old implementation of pci_reset_bus() is gone, replace
pci_try_reset_bus() with pci_reset_bus().
Compared to the old implementation, new code will fail immmediately with
-EAGAIN if object lock cannot be obtained.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/hfi1/pcie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hfi1/pcie.c b/drivers/infiniband/hw/hfi1/pcie.c index df4f2d390be8..baf7c324f7b8 100644 --- a/drivers/infiniband/hw/hfi1/pcie.c +++ b/drivers/infiniband/hw/hfi1/pcie.c @@ -905,7 +905,7 @@ static int trigger_sbr(struct hfi1_devdata *dd) * delay after a reset is required. Per spec requirements, * the link is either working or not after that point. */ - return pci_try_reset_bus(dev); + return pci_reset_bus(dev); } /* |