Messages in this thread | | | From | Dmitry Torokhov <> | Subject | Re: [PATCH] gpio-tz1090: fix error handling of irq_of_parse_and_map | Date | Fri, 14 Nov 2014 16:44:06 -0800 |
| |
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@chromium.org> > > Good catch, thanks! > > Acked-by: James Hogan <james.hogan@imgtec.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
| |