lkml.org 
[lkml]   [2012]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] da9052-battery: don't free IRQ that wasn't requested
On Thu, Sep 06, 2012 at 08:07:58AM -0700, Dan Carpenter wrote:
[...]
> > for (j=0; j <= i ;j++ ) {
> ^^^^^^
> The count up loops are prone to the exact same off by one bugs. ;)
> You've got one in your sample code. Plus I'd have to declare
> another variable and send a v2 patch and I am very lazy... So in
> this case I think should just take my original patch.

Applied, thank you!


\
 
 \ /
  Last update: 2012-09-21 00:41    [W:0.131 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site