]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit01fa91471e9559d72c0c93ea7cca6f9fe6c2d1c3
treed019ae001cd1ec82eff617388dce2d0ce9ac3159
parent636d140a80912693be466e8d978e658189972989
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