aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorJean Delvare <[email protected]>2016-02-18 13:50:45 +0100
committerBjorn Helgaas <[email protected]>2016-03-08 15:48:56 -0600
commit20ac75e563d09f56fb00caa25a3afdb88573472d (patch)
treed120ec3d1779132a8bb0b085943e7b150f98cbc4 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent0e6053dc6e7a42c8ba9ce6e81adb3350c7df4bc8 (diff)
PCI/AER: Fix aer_inject error codes
EPERM means "Operation not permitted", which doesn't reflect the lack of support for AER. EPROTONOSUPPORT (Protocol not supported) is a better choice of error code if the device or its root port lack support for AER. Likewise, EINVAL means "Invalid argument", which is not suitable for cases where the AER error device is missing or unusable. ENODEV and EPROTONOSUPPORT, respectively, fit better. Suggested-by: Borislav Petkov <[email protected]> Signed-off-by: Jean Delvare <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> CC: Borislav Petkov <[email protected]> CC: Prarit Bhargava <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions