diff options
author | Christoph Hellwig <hch@lst.de> | 2017-02-01 14:41:42 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-02-10 16:05:06 -0600 |
commit | 862290f9e23c39051e59bf12ce65707a8ec8b911 (patch) | |
tree | 992c822cae2bf5a70159fdf044732c4e6baf3b0b /drivers/pci/pcie | |
parent | 699c4cec238731a4c466f73fe6e9e45ab6f49a41 (diff) | |
download | linux-862290f9e23c39051e59bf12ce65707a8ec8b911.tar.gz linux-862290f9e23c39051e59bf12ce65707a8ec8b911.tar.bz2 linux-862290f9e23c39051e59bf12ce65707a8ec8b911.zip |
PCI/MSI: Check that we have a legacy interrupt line before using it
It seems like there are some devices (e.g. the PCIe root port driver) that
may not always have a INTx interrupt. Check for dev->irq before returning
a legacy interrupt in pci_irq_alloc_vectors to properly handle this case.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pcie')
0 files changed, 0 insertions, 0 deletions