]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit56193274ef54265afc93fd282655836595fcff9d
tree05dc4d337a365980b9a5f88f3ee20c74308b1ddf
parentde4c924c265049e576036d1ee6fc9dfefeb5ae87
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