]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: fix up comment checks search to scan the entire block
authorAndy Whitcroft <apw@shadowen.org>
Thu, 16 Oct 2008 05:02:19 +0000 (22:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:35 +0000 (11:21 -0700)
commit4e51f6a955fb359c2a65ff5c0f8247739baf21f7
treed019ae001cd1ec82eff617388dce2d0ce9ac3159
parentefe91442749e38c26e74522ca0c565623b09c234
checkpatch: fix up comment checks search to scan the entire block

We are not counting the lines in the block correctly which causes the
comment scan to stop prematurly and thus miss comments which end at the
end of the block.  Fix this up.

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