|
@@ -2757,13 +2757,6 @@ sub process {
|
|
#print "is_start<$is_start> is_end<$is_end> length<$length>\n";
|
|
#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
|
|
# discourage the use of boolean for type definition attributes of Kconfig options
|
|
if ($realfile =~ /Kconfig/ &&
|
|
if ($realfile =~ /Kconfig/ &&
|
|
$line =~ /^\+\s*\bboolean\b/) {
|
|
$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");
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
# check for RCS/CVS revision markers
|
|
# check for RCS/CVS revision markers
|
|
if ($rawline =~ /^\+.*\$(Revision|Log|Id)(?:\$|)/) {
|
|
if ($rawline =~ /^\+.*\$(Revision|Log|Id)(?:\$|)/) {
|
|
WARN("CVS_KEYWORD",
|
|
WARN("CVS_KEYWORD",
|