Re: [patch] gpio-timberdale: fix a potential wrapping issue

From: Dan Carpenter
Date: Fri Oct 19 2012 - 23:46:46 EST


On Fri, Oct 12, 2012 at 11:01:08PM +0200, Linus Walleij wrote:
> On Thu, Oct 11, 2012 at 8:56 AM, Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
>
> > ->last_ier is an unsigned long but the high bits can't be used int the
> > original code because the shift wraps.
> >
> > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
>
> Applied, thanks!
> Should we send this to stable? (I assume so ...)

This was a static checker fix. I guess the answer would depend on
if there are over 30 IRQs.

regards,
dan carpenter

--
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/