]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: allow optional shorter config descriptions
authorVadim Bendebury <vbendeb@chromium.org>
Mon, 13 Oct 2014 22:51:48 +0000 (15:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Oct 2014 00:18:15 +0000 (02:18 +0200)
commit31a4564c3d0e826dd5e0cf168404c43f0c358cb6
tree05dc4d337a365980b9a5f88f3ee20c74308b1ddf
parent9c02b02bce8d9e8ab727bd1940e199b61755c075
checkpatch: allow optional shorter config descriptions

This script is used by many other projects, and in some of them the
requirement of at least 4 line long description for all Kconfig items is
excessive.  This patch adds a command line option to control the required
minimum length.

Tested running this script over a patch including a two line config
description.  The script generated a warning when invoked as is, and did
not generate it when invoked with --min-conf-desc-length=2.

Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl