checkpatch: add check for too short Kconfig descriptions
authorAndi Kleen <ak@linux.intel.com>
Mon, 24 May 2010 21:33:29 +0000 (14:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 25 May 2010 15:07:06 +0000 (08:07 -0700)
commit3354957a4f8b9bb4b43625232acdf0626851c82f
tree8b6b363e9114611a3261c600f937bce75c81cbdd
parent965fd9e9a2d6d0a2704815e4579008a9f65282a0
checkpatch: add check for too short Kconfig descriptions

I've seen various new Kconfigs with rather unhelpful one liner
descriptions.  Add a Kconfig warning for a minimum length of the Kconfig
help section.

Right now I arbitarily chose 4. The exact value can be debated.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl