projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e43e01
)
IB/qib: Allow driver to load if PCIe AER fails
author
Ralph Campbell
<ralph.campbell@qlogic.com>
Fri, 22 Oct 2010 22:29:54 +0000
(15:29 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Tue, 26 Oct 2010 23:09:02 +0000
(16:09 -0700)
Some PCIe root complex chip sets don't support advanced error reporting.
Allow the driver to load OK if pci_enable_pcie_error_reporting() fails.
Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/qib/qib_pcie.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/qib/qib_pcie.c
b/drivers/infiniband/hw/qib/qib_pcie.c
index
7fa6e55
..
8a64426
100644
(file)
--- a/
drivers/infiniband/hw/qib/qib_pcie.c
+++ b/
drivers/infiniband/hw/qib/qib_pcie.c
@@
-109,10
+109,12
@@
int qib_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)
+ if (ret)
{
qib_early_err(&pdev->dev,
"Unable to enable pcie error reporting: %d\n",
ret);
+ ret = 0;
+ }
goto done;
bail: