Re: [PATCH] HIS: nokia-modem: fix error handling of irq_of_parse_and_map

From: Pavel Machek
Date: Sun Nov 16 2014 - 03:38:03 EST


On Fri 2014-11-14 23:44:07, Sebastian Reichel wrote:
> On Fri, Nov 14, 2014 at 02:06:37PM -0800, Dmitry Torokhov 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>
>
> https://git.kernel.org/cgit/linux/kernel/git/sre/linux-hsi.git/commit/?h=for-next&id=d95dc9e388104488d0f5a5969c435e601840da2e
>

Acked-by: Pavel Machek <pavel@xxxxxx>

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/