From: Andy Whitcroft Date: Thu, 16 Oct 2008 05:02:19 +0000 (-0700) Subject: checkpatch: fix up comment checks search to scan the entire block X-Git-Tag: v2.6.28-rc1~490 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01fa91471e9559d72c0c93ea7cca6f9fe6c2d1c3;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed