summaryrefslogtreecommitdiffstats
path: root/drivers/pci/quirks.c
diff options
context:
space:
mode:
authorPrarit Bhargava <prarit@redhat.com>2013-03-20 12:04:43 +0000
committerBjorn Helgaas <bhelgaas@google.com>2013-04-03 17:08:45 -0600
commite82b14bdd390c534750a191f9936f842bab255d4 (patch)
tree532b2a09ba445b84232d5674a1043121427b9325 /drivers/pci/quirks.c
parentf6161aa153581da4a3867a2d1a7caf4be19b6ec9 (diff)
PCI: aer_inject: Fix return values when device not found
Currently the aer_inject driver returns -ENOTTY when the target PCIe device root port is not found or if the device or root port doesn't support AER. In the case where the root port isn't found, the driver should return -ENODEV, and in the other cases it should return -EPERM. Signed-off-by: Prarit Bhargava <prarit@redhat.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/quirks.c')
0 files changed, 0 insertions, 0 deletions