Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+1 -5
+1 -5
scripts/checkpatch.pl
··· 3042 3042 3043 3043 if ($lines[$ln - 1] =~ /^\+\s*(?:bool|tristate|prompt)\s*["']/) { 3044 3044 $is_start = 1; 3045 - } elsif ($lines[$ln - 1] =~ /^\+\s*(?:help|---help---)\s*$/) { 3046 - if ($lines[$ln - 1] =~ "---help---") { 3047 - WARN("CONFIG_DESCRIPTION", 3048 - "prefer 'help' over '---help---' for new help texts\n" . $herecurr); 3049 - } 3045 + } elsif ($lines[$ln - 1] =~ /^\+\s*(?:---)?help(?:---)?$/) { 3050 3046 $length = -1; 3051 3047 } 3052 3048