]> git.baikalelectronics.ru Git - kernel.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)
commit8a256f3f8fe6b9ec5885fc21c751c3b762809572
treeff000717ccecc62cea6832852f2e3e229007489b
parentb8ec64a55ef2f82dddbd80f8c1e8cac2841ffcaa
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