]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - scripts/checkpatch.pl
checkpatch: ensure kconfig help checks only apply when we are adding help
authorAndy Whitcroft <apw@canonical.com>
Tue, 26 Oct 2010 21:23:15 +0000 (14:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Oct 2010 23:52:20 +0000 (16:52 -0700)
commit9fe287d79b0af983050d24e7916cf3d1f019f553
tree46683d872be3d6976ad895f6ad94996acc06344c
parent0c73b4eb7a825a5aff16d8a9701f6c28056de058
checkpatch: ensure kconfig help checks only apply when we are adding help

When checking the length of the help we need to be sure we are seeing the
whole story before erroring.  Firstly we only want to check when adding
the help in the first place.  Second we need to be sure that we are seeing
the end of the entry, nominally when there is no context below or that
context shows the start of the next entry.

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