checkpatch.pl: be more specific about what is wrong with Kconfig help
PATCH 1/1 checkpatch.pl: be more specific about what is wrong with Kconfig help
explain that Kconfig help paragraphs is expected to be at least 4 lines long
Cc Andy Whitcroft <[email protected]>
Signed-off-by Tomas Winkler <[email protected]>
--- scripts/checkpatch.pl | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
scripts/checkpatch.pl +3 -1
@@ -1452,7 +1452,9 @@ sub process { } $length++; } - WARN("please write a paragraph that describes the config symbol fully\n" . $herecurr) if ($is_end && $length < 4); + if ($is_end && $length < 4) { + WARN("please write a paragraph that describes the config symbol fully, at least 4 lines\n" . $herecurr); + } #print "is_end<$is_end> length<$length>\n"; }
Signature · 9 lines
1.7.3.5 --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
Quoted 3 lines · Tomas Winkler
explain that
Kconfighelp paragraphs is expected to be at least 4 lines long
Acked-by WANG Cong <[email protected]>