diff options
| author | Prarit Bhargava <[email protected]> | 2013-03-20 12:04:43 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2013-04-03 17:08:45 -0600 |
| commit | e82b14bdd390c534750a191f9936f842bab255d4 (patch) | |
| tree | 532b2a09ba445b84232d5674a1043121427b9325 /tools/perf/scripts/python/syscall-counts.py | |
| parent | f6161aa153581da4a3867a2d1a7caf4be19b6ec9 (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 <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions