diff options
author | Dmitry Torokhov <dtor@chromium.org> | 2014-11-15 01:21:53 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-12-27 02:24:27 +0300 |
commit | c51d411fe1e5f5f378b4db6b10dbe89e2e8688e4 (patch) | |
tree | 90ad0e11e65d7b1a46e49b5264b97b2b64e7e7e0 /virt | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff) | |
download | linux-c51d411fe1e5f5f378b4db6b10dbe89e2e8688e4.tar.xz |
PCI: rcar: Fix error handling of irq_of_parse_and_map()
Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating
failure, so testing for negative result never works.
Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Phil Edworthy <phil.edworthy@renesas.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions