checkpatch: suspect indent count condition lines correctly
commit6f779c18ca74358b6ac8eb8f5d502843fa92be4e
authorAndy Whitcroft <apw@shadowen.org>
Thu, 16 Oct 2008 05:02:27 +0000 (15 22:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:36 +0000 (16 11:21 -0700)
treec40e6fe4bd88c7f6c2f892cfcc965f972f0b9cad
parent5368df20fb364e394da3ab88d3d60ee3c0a9e5ba
checkpatch: suspect indent count condition lines correctly

Correct calculation of the number of lines of condition where we have
suspect indent.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl