Skip to contentSkip to conversation

checkpatch.pl: be more specific about what is wrong with Kconfig help

PATCH In review Tomas Winkler 2 participants 2 messages Jan 31, 2011 – Feb 1, 2011 Checkpatch

lore
Share & tools
lore
#0 lore raw

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

---
 scripts/checkpatch.pl |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
scripts/checkpatch.pl +3 -1
index 4c0383d..679122f 100755
@@ -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.