diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-11-21 22:34:02 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-12-12 17:05:23 +0100 |
commit | 68a55ae5c01356c4c45a3a26d8abd8186638b2a7 (patch) | |
tree | bab8b8eea8a8d4a70696f0aceeb5cc62351ade70 /drivers/pci | |
parent | PCI/AER: Log errors with PCI device, not PCIe service device (diff) | |
download | linux-68a55ae5c01356c4c45a3a26d8abd8186638b2a7.tar.xz linux-68a55ae5c01356c4c45a3a26d8abd8186638b2a7.zip |
PCI/AER: Log AER IRQ when claiming Root Port
Add a log message when we enable AER on a Root Port and the hierarchy below
it.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pcie/aer/aerdrv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pcie/aer/aerdrv.c b/drivers/pci/pcie/aer/aerdrv.c index 60e63d60bb31..dea186a9d6b6 100644 --- a/drivers/pci/pcie/aer/aerdrv.c +++ b/drivers/pci/pcie/aer/aerdrv.c @@ -312,8 +312,8 @@ static int aer_probe(struct pcie_device *dev) rpc->isr = 1; aer_enable_rootport(rpc); - - return status; + dev_info(device, "AER enabled with IRQ %d\n", dev->irq); + return 0; } /** |