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

2012-10-19 Thread Dan Carpenter
On Fri, Oct 12, 2012 at 11:01:08PM +0200, Linus Walleij wrote: > On Thu, Oct 11, 2012 at 8:56 AM, Dan Carpenter > 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 > > Applied,

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

2012-10-19 Thread Dan Carpenter
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.carpen...@oracle.com 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

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

2012-10-12 Thread Linus Walleij
On Thu, Oct 11, 2012 at 8:56 AM, Dan Carpenter 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 Applied, thanks! Should we send this to stable? (I assume so ...) Yours, Linus Walleij -- To

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

2012-10-12 Thread Linus Walleij
On Thu, Oct 11, 2012 at 8:56 AM, Dan Carpenter dan.carpen...@oracle.com 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.carpen...@oracle.com Applied, thanks! Should we send this to stable? (I

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

2012-10-11 Thread Dan Carpenter
->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 diff --git a/drivers/gpio/gpio-timberdale.c b/drivers/gpio/gpio-timberdale.c index 031c6ad..1a3e2b9 100644 --- a/drivers/gpio/gpio-timberdale.c +++

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

2012-10-11 Thread Dan Carpenter
-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.carpen...@oracle.com diff --git a/drivers/gpio/gpio-timberdale.c b/drivers/gpio/gpio-timberdale.c index 031c6ad..1a3e2b9 100644 ---