Skip to content

Commit

Permalink
IB/qib: Fix an incorrect log message
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Betty Dall authored and Roland Dreier committed Jul 19, 2012
1 parent 1fb9fed commit f3331f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/infiniband/hw/qib/qib_pcie.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit f3331f8

Please sign in to comment.