Commit 0096765b authored by Dean Luick's avatar Dean Luick Committed by Doug Ledford

staging/rdma/hfi1: Remove PCIe AER diagnostic message

There are several reasons why PCIE AER cannot be enabled.  Do not
report the failure to enable as an error.
Reviewed-by: default avatarDennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: default avatarDean Luick <dean.luick@intel.com>
Signed-off-by: default avatarJubin John <jubin.john@intel.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 91ab4ed3
...@@ -132,13 +132,7 @@ int hfi1_pcie_init(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -132,13 +132,7 @@ int hfi1_pcie_init(struct pci_dev *pdev, const struct pci_device_id *ent)
} }
pci_set_master(pdev); pci_set_master(pdev);
ret = pci_enable_pcie_error_reporting(pdev); (void)pci_enable_pcie_error_reporting(pdev);
if (ret) {
hfi1_early_err(&pdev->dev,
"Unable to enable pcie error reporting: %d\n",
ret);
ret = 0;
}
goto done; goto done;
bail: bail:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment