commit | 01fa91471e9559d72c0c93ea7cca6f9fe6c2d1c3 | [log] [tgz] |
---|---|---|
author | Andy Whitcroft <apw@shadowen.org> | Wed Oct 15 22:02:19 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Oct 16 11:21:35 2008 -0700 |
tree | d019ae001cd1ec82eff617388dce2d0ce9ac3159 | |
parent | 636d140a80912693be466e8d978e658189972989 [diff] |
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>