summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-06-17 12:02:20 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2020-08-14 13:30:03 +0900
commit22a4ac026c15eba961883ed8466cb341e0447de1 (patch)
tree0a9778220ead66841e2597739e31b0cf747db990
parentf70f74d15ca80d73eca6d5a731257627fb6370c5 (diff)
downloadlinux-22a4ac026c15eba961883ed8466cb341e0447de1.tar.gz
linux-22a4ac026c15eba961883ed8466cb341e0447de1.tar.bz2
linux-22a4ac026c15eba961883ed8466cb341e0447de1.zip
Revert "checkpatch: kconfig: prefer 'help' over '---help---'"
This reverts commit 84af7a6194e493fae312a2b7fa5a3b51f76d9282. The conversion is done. Cc: Ulf Magnusson <ulfalizer@gmail.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
-rwxr-xr-xscripts/checkpatch.pl6
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 4c820607540b..1351e052eb99 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -3042,11 +3042,7 @@ sub process {
if ($lines[$ln - 1] =~ /^\+\s*(?:bool|tristate|prompt)\s*["']/) {
$is_start = 1;
- } elsif ($lines[$ln - 1] =~ /^\+\s*(?:help|---help---)\s*$/) {
- if ($lines[$ln - 1] =~ "---help---") {
- WARN("CONFIG_DESCRIPTION",
- "prefer 'help' over '---help---' for new help texts\n" . $herecurr);
- }
+ } elsif ($lines[$ln - 1] =~ /^\+\s*(?:---)?help(?:---)?$/) {
$length = -1;
}