[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141117092456.GA3247@distanz.ch>
Date: Mon, 17 Nov 2014 10:24:56 +0100
From: Tobias Klauser <tklauser@...tanz.ch>
To: Dmitry Torokhov <dtor@...omium.org>
Cc: Ley Foon Tan <lftan@...era.com>, nios2-dev@...ts.rocketboards.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nios2: fix error handling of irq_of_parse_and_map
On 2014-11-14 at 23:04:19 +0100, Dmitry Torokhov <dtor@...omium.org> 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@...omium.org>
Reviewed-by: Tobias Klauser <tklauser@...tanz.ch>
Thanks for catching this.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists