]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
checkpatch: comment detection may miss an implied comment on the last hunk
authorAndy Whitcroft <apw@shadowen.org>
Tue, 6 Jan 2009 22:41:16 +0000 (14:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:15 +0000 (15:59 -0800)
commit721c1cb60e0546d2e71b9aa50426c94e69c6521a
tree69c767f29569545e1ec8e950fce4b4a03ae970fe
parent691d77b6b85c20e4166bafd12bd0131b28f95a16
checkpatch: comment detection may miss an implied comment on the last hunk

When detecting implied comments from leading stars we may incorrectly
think we have detected an edge one way or the other when we have not if we
drop off the end of the last hunk.  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