diff options
author | Fabio Estevam <[email protected]> | 2017-08-31 14:52:07 -0300 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2017-09-05 13:36:28 -0500 |
commit | ef75369a5b9afc8b45456218790f0f12906b7065 (patch) | |
tree | ec3c0a57e7a119e8d46cb266814639d2d662b077 /scripts/gdb/linux/config.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 <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Cc: Ley Foon Tan <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions