]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
checkpatch: report the correct lines for single statement blocks
authorAndy Whitcroft <apw@shadowen.org>
Thu, 16 Oct 2008 05:02:23 +0000 (22:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:35 +0000 (11:21 -0700)
commitf055663c5853aa1d9f4c86351a4637462a0b9041
treeff000717ccecc62cea6832852f2e3e229007489b
parent2a1bc5d5c5096f2dfb6f8b18f39ecb718f101535
checkpatch: report the correct lines for single statement blocks

Report the correct lines for single statement blocks.  Currently we are
reporting the right number of lines, but not skipping the negative lines.

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