]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit758976e10e87413c4a159d136aacac7f35d1dc75
tree23a1149ca4268d0e743b8e847d83fbda3f929067
parentf74343aa053068eb76adc45f777b8afa6642384a
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