kernel-hacking-2024-linux-s.../arch/nios2
Dmitry Torokhov b29438f22c nios2: 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>
Reviewed-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Ley Foon Tan <lftan@altera.com>
2014-12-08 12:56:08 +08:00
..
boot nios2: Build infrastructure 2014-12-08 12:56:06 +08:00
configs nios2: Build infrastructure 2014-12-08 12:56:06 +08:00
include nios2: Build infrastructure 2014-12-08 12:56:06 +08:00
kernel nios2: fix error handling of irq_of_parse_and_map 2014-12-08 12:56:08 +08:00
lib nios2: Build infrastructure 2014-12-08 12:56:06 +08:00
mm nios2: Build infrastructure 2014-12-08 12:56:06 +08:00
platform nios2: Build infrastructure 2014-12-08 12:56:06 +08:00
Kconfig nios2: Build infrastructure 2014-12-08 12:56:06 +08:00
Kconfig.debug nios2: Build infrastructure 2014-12-08 12:56:06 +08:00
Makefile nios2: Build infrastructure 2014-12-08 12:56:06 +08:00