diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-08-31 14:52:07 -0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-09-05 13:36:28 -0500 |
commit | ef75369a5b9afc8b45456218790f0f12906b7065 (patch) | |
tree | ec3c0a57e7a119e8d46cb266814639d2d662b077 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | bfdbbf0e3c2a6e3fe752e0dc858c982aa1ccecad (diff) |
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