diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-11-22 00:34:02 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-12-12 19:05:23 +0300 |
commit | 68a55ae5c01356c4c45a3a26d8abd8186638b2a7 (patch) | |
tree | bab8b8eea8a8d4a70696f0aceeb5cc62351ade70 /drivers/pci/pcie/aer | |
parent | 576700b67a39ea422d28af085458748b50d591dc (diff) | |
download | linux-68a55ae5c01356c4c45a3a26d8abd8186638b2a7.tar.xz |
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/pcie/aer')
-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; } /** |