projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f70f74d
)
Revert "checkpatch: kconfig: prefer 'help' over '---help---'"
author
Masahiro Yamada
<masahiroy@kernel.org>
Wed, 17 Jun 2020 03:02:20 +0000
(12:02 +0900)
committer
Masahiro Yamada
<masahiroy@kernel.org>
Fri, 14 Aug 2020 04:30:03 +0000
(13:30 +0900)
This reverts commit
84af7a6194e493fae312a2b7fa5a3b51f76d9282
.
The conversion is done.
Cc: Ulf Magnusson <ulfalizer@gmail.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/checkpatch.pl
patch
|
blob
|
history
diff --git
a/scripts/checkpatch.pl
b/scripts/checkpatch.pl
index 4c820607540bf646f8defa5417876a987c1bc74d..1351e052eb99c4b007cc1bb0210fcf136f9ade62 100755
(executable)
--- 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;
}