summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorBetty Dall <betty.dall@hp.com>2012-07-19 21:34:19 +0200
committerRoland Dreier <roland@purestorage.com>2012-07-19 20:19:08 +0200
commitf3331f88a4b97530b7acd3112902524d9dc0688c (patch)
tree2f1a891c850e1a13833556643629ad7b2328e9f4 /drivers/infiniband
parentIB/qib: Fix QP RCU sparse warnings (diff)
downloadlinux-f3331f88a4b97530b7acd3112902524d9dc0688c.tar.xz
linux-f3331f88a4b97530b7acd3112902524d9dc0688c.zip
IB/qib: Fix an incorrect log message
There is a cut-and-paste typo in the function qib_pci_slot_reset() where it prints that the "link_reset" function is called rather than the "slot_reset" function. This makes the message misleading. Signed-off-by: Betty Dall <betty.dall@hp.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/qib/qib_pcie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qib/qib_pcie.c b/drivers/infiniband/hw/qib/qib_pcie.c
index 790646ef5106..4f9d91823f15 100644
--- a/drivers/infiniband/hw/qib/qib_pcie.c
+++ b/drivers/infiniband/hw/qib/qib_pcie.c
@@ -725,7 +725,7 @@ qib_pci_mmio_enabled(struct pci_dev *pdev)
static pci_ers_result_t
qib_pci_slot_reset(struct pci_dev *pdev)
{
- qib_devinfo(pdev, "QIB link_reset function called, ignored\n");
+ qib_devinfo(pdev, "QIB slot_reset function called, ignored\n");
return PCI_ERS_RESULT_CAN_RECOVER;
}