checkpatch: correctly stop scanning at the bottom of a hunk
authorAndy Whitcroft <apw@canonical.com>
Mon, 26 Oct 2009 23:50:13 +0000 (16:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 29 Oct 2009 14:39:31 +0000 (07:39 -0700)
commitcc77cdca5209c1199deb33f3a83df191ac32f4d6
tree23a1149ca4268d0e743b8e847d83fbda3f929067
parent9a974fdbe3fbb4b0f6d552579dc79ac237412c61
checkpatch: correctly stop scanning at the bottom of a hunk

We are allowing context scanning checks to apply against the first line of
context outside at the end of the hunk.  This can lead to false matches to
patch names leading to various perl warnings.  Correctly stop at the
bottom of the hunk.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl