]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging/rdma/hfi1: Remove PCIe AER diagnostic message
authorDean Luick <dean.luick@intel.com>
Wed, 3 Feb 2016 22:36:06 +0000 (14:36 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:37:57 +0000 (20:37 -0500)
There are several reasons why PCIE AER cannot be enabled.  Do not
report the failure to enable as an error.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/pcie.c

index 6605a6afbb1d0bc90fe499ab2d268ff49c74f56a..3d0c2e21d3e13454cecd5bf782401c43d82f0176 100644 (file)
@@ -132,13 +132,7 @@ int hfi1_pcie_init(struct pci_dev *pdev, const struct pci_device_id *ent)
        }
 
        pci_set_master(pdev);
-       ret = pci_enable_pcie_error_reporting(pdev);
-       if (ret) {
-               hfi1_early_err(&pdev->dev,
-                              "Unable to enable pcie error reporting: %d\n",
-                             ret);
-               ret = 0;
-       }
+       (void)pci_enable_pcie_error_reporting(pdev);
        goto done;
 
 bail: