* + checkpatch-remove-obsolete-config_experimental-checks.patch added to -mm tree
@ 2017-03-01 0:01 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2017-03-01 0:01 UTC (permalink / raw)
To: ruslan.bilovol, joe, keescook, mm-commits
The patch titled
Subject: checkpatch: remove obsolete CONFIG_EXPERIMENTAL checks
has been added to the -mm tree. Its filename is
checkpatch-remove-obsolete-config_experimental-checks.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/checkpatch-remove-obsolete-config_experimental-checks.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/checkpatch-remove-obsolete-config_experimental-checks.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Subject: checkpatch: remove obsolete CONFIG_EXPERIMENTAL checks
Config EXPERIMENTAL has been removed from kernel in 2013 (see 3d374d0:
"final removal of CONFIG_EXPERIMENTAL"), there is no any reason to do
these checks now.
Link: http://lkml.kernel.org/r/1488234097-20119-1-git-send-email-ruslan.bilovol@gmail.com
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Acked-by: Kees Cook <keescook@chromium.org>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
scripts/checkpatch.pl | 13 -------------
1 file changed, 13 deletions(-)
diff -puN scripts/checkpatch.pl~checkpatch-remove-obsolete-config_experimental-checks scripts/checkpatch.pl
--- a/scripts/checkpatch.pl~checkpatch-remove-obsolete-config_experimental-checks
+++ a/scripts/checkpatch.pl
@@ -2757,13 +2757,6 @@ sub process {
#print "is_start<$is_start> is_end<$is_end> length<$length>\n";
}
-# discourage the addition of CONFIG_EXPERIMENTAL in Kconfig.
- if ($realfile =~ /Kconfig/ &&
- $line =~ /.\s*depends on\s+.*\bEXPERIMENTAL\b/) {
- WARN("CONFIG_EXPERIMENTAL",
- "Use of CONFIG_EXPERIMENTAL is deprecated. For alternatives, see https://lkml.org/lkml/2012/10/23/580\n");
- }
-
# discourage the use of boolean for type definition attributes of Kconfig options
if ($realfile =~ /Kconfig/ &&
$line =~ /^\+\s*\bboolean\b/) {
@@ -3157,12 +3150,6 @@ sub process {
}
}
-# discourage the addition of CONFIG_EXPERIMENTAL in #if(def).
- if ($line =~ /^\+\s*\#\s*if.*\bCONFIG_EXPERIMENTAL\b/) {
- WARN("CONFIG_EXPERIMENTAL",
- "Use of CONFIG_EXPERIMENTAL is deprecated. For alternatives, see https://lkml.org/lkml/2012/10/23/580\n");
- }
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-01 0:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-01 0:01 + checkpatch-remove-obsolete-config_experimental-checks.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).