[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4324315.2x5Mj9E2n5@dtor-glaptop>
Date: Fri, 14 Nov 2014 16:44:06 -0800
From: Dmitry Torokhov <dtor@...omium.org>
To: James Hogan <james.hogan@...tec.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Alexandre Courbot <gnurou@...il.com>,
Wolfram Sang <wsa@...-dreams.de>, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gpio-tz1090: fix error handling of irq_of_parse_and_map
On Friday, November 14, 2014 11:53:07 PM James Hogan wrote:
> On Fri, Nov 14, 2014 at 01:32:56PM -0800, Dmitry Torokhov wrote:
> > irq_of_parse_and_map() returns 0 on error, so testing for negative
> > result never works.
> >
> > Signed-off-by: Dmitry Torokhov <dtor@...omium.org>
>
> Good catch, thanks!
>
> Acked-by: James Hogan <james.hogan@...tec.com>
>
> A quick coccinelle script shows up numerous other cases of this error
> around the kernel tree too...
Yeah, I sent out a few patches today.
Thanks,
Dmitry
--
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