diff options
| author | Dmitry Torokhov <[email protected]> | 2014-11-14 14:19:03 -0800 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2014-12-26 16:23:35 -0700 |
| commit | ea3651fee6c92a29244830334979396465ed8587 (patch) | |
| tree | f88ab069f7e2e59dd7fbb9d18168f9547a2b179c /net/switchdev/switchdev.c | |
| parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff) | |
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 <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-By: Murali Karicheri <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions