checkpatch: allow shorter config descriptions

The requirement of at least 4 line long description for all config
items is often excessive. Add a command line option to control the
required minimum length.

This change to checkpatch has been posted at:

TEST=prepared a patch with a two line config item description verified
    that by default the insufficient description length warning is
    generated, but when invoked with the new command line option
    (--min-conf-desc-length=2) the patch passes the check.

Change-Id: I477e26d705bccc1b486a3255f22b2abc0cd777ca
Signed-off-by: Vadim Bendebury <>
Reviewed-by: Doug Anderson <>
Commit-Queue: Doug Anderson <>
1 file changed