Re: [PATCH] nios2: fix error handling of irq_of_parse_and_map
From: Tobias Klauser
Date: Mon Nov 17 2014 - 04:25:07 EST
On 2014-11-14 at 23:04:19 +0100, Dmitry Torokhov <dtor@xxxxxxxxxxxx> wrote:
> 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@xxxxxxxxxxxx>
Reviewed-by: Tobias Klauser <tklauser@xxxxxxxxxx>
Thanks for catching this.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/