diff mbox

[IB/QIB] Fix failure to load driver if PCI error reporting doesn't enable

Message ID 35AAF1E4A771E142979F27B51793A488873ABE076D@AVEXMB1.qlogic.org (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Ralph Campbell Oct. 22, 2010, 9:28 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/infiniband/hw/qib/qib_pcie.c b/drivers/infiniband/hw/qib/qib_pcie.c
index 7fa6e55..16ce9e7 100644
--- a/drivers/infiniband/hw/qib/qib_pcie.c
+++ b/drivers/infiniband/hw/qib/qib_pcie.c
@@ -113,6 +113,7 @@  int qib_pcie_init(struct pci_dev *pdev, const struct pci_device_id *ent)
                qib_early_err(&pdev->dev,
                              "Unable to enable pcie error reporting: %d\n",
                              ret);
+       ret = 0;
        goto done;

 bail: