IB/qib: Fix an incorrect log message
authorBetty Dall <betty.dall@hp.com>
Thu, 19 Jul 2012 19:34:19 +0000 (19:34 +0000)
committerRoland Dreier <roland@purestorage.com>
Thu, 19 Jul 2012 18:19:08 +0000 (11:19 -0700)
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>
drivers/infiniband/hw/qib/qib_pcie.c

index 790646ef51060b4bda68f2a21f98a0a0421c8fd3..4f9d91823f150d57acbda8f67893058a2b1f4498 100644 (file)
@@ -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;
 }