diff options
author | 2017-08-31 14:52:07 -0300 | |
---|---|---|
committer | 2017-09-05 13:36:28 -0500 | |
commit | ef75369a5b9afc8b45456218790f0f12906b7065 (patch) | |
tree | ec3c0a57e7a119e8d46cb266814639d2d662b077 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | PCI: altera: Use size=4 IRQ domain for legacy INTx (diff) | |
download | wireguard-linux-ef75369a5b9afc8b45456218790f0f12906b7065.tar.xz wireguard-linux-ef75369a5b9afc8b45456218790f0f12906b7065.zip |
PCI: altera: Fix platform_get_irq() error handling
platform_get_irq() returns a negative number on failure, so adjust the
logic to detect such condition and propagate the real error value on
failure.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions