Re: [PATCH] nios2: fix error handling of irq_of_parse_and_map

From: Ley Foon Tan
Date: Mon Nov 17 2014 - 05:04:16 EST

On Mon, Nov 17, 2014 at 5:24 PM, Tobias Klauser <tklauser@xxxxxxxxxx> wrote:
> 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.
Thanks for your patch.

Ley Foon
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at