diff options
author | 2017-08-31 14:52:03 -0300 | |
---|---|---|
committer | 2017-09-05 13:30:32 -0500 | |
commit | 0fe5f1cd0bf08f7640c3ce945766a1af2049893e (patch) | |
tree | 7b3cc6d43a2263d1c50587e75980b3ba9027d3ed /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | PCI: armada8k: Check the return value from clk_prepare_enable() (diff) | |
download | wireguard-linux-0fe5f1cd0bf08f7640c3ce945766a1af2049893e.tar.xz wireguard-linux-0fe5f1cd0bf08f7640c3ce945766a1af2049893e.zip |
PCI: armada8k: 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: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions