diff options
author | Baruch Siach <baruch@tkos.co.il> | 2013-05-29 10:11:17 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-25 14:07:29 -0700 |
commit | f707f7ae37c514a3871741747bfd8c09d7badb05 (patch) | |
tree | ab4dadfffc2a4ab3047898790ded27f6cd2c75b8 /drivers/net | |
parent | 084c895d3c9fecf80fe02ba442b90818116b30d2 (diff) |
clocksource: dw_apb: Fix error check
commit 1a33bd2be705cbb3f57d7223b60baea441039307 upstream.
irq_of_parse_and_map() returns 0 on error, while the code checks for NO_IRQ.
This breaks on platforms that have NO_IRQ != 0.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions