diff options
author | Dmitry Torokhov <dtor@chromium.org> | 2014-11-14 22:19:03 (GMT) |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-12-26 23:23:35 (GMT) |
commit | ea3651fee6c92a29244830334979396465ed8587 (patch) | |
tree | f88ab069f7e2e59dd7fbb9d18168f9547a2b179c /drivers/ata/pata_sis.c | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff) | |
download | linux-ea3651fee6c92a29244830334979396465ed8587.tar.xz |
PCI: keystone: 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: Murali Karicheri <m-karicheri2@ti.com>
Diffstat (limited to 'drivers/ata/pata_sis.c')
0 files changed, 0 insertions, 0 deletions