summaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2021-02-16 11:52:16 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-02-16 11:52:16 -0300
commitc1bd8a2b9fbc304995fb03356f878579e50d3dd8 (patch)
treec5599739225f20c52f56c189bed786d68de64368 /scripts/checkpatch.pl
parenta89dbc9b988f3ba8700df3c58614744de0c5043f (diff)
parent105f75ebf9519c239c96f9b16e16520f45fea72b (diff)
downloadcachepc-linux-c1bd8a2b9fbc304995fb03356f878579e50d3dd8.tar.gz
cachepc-linux-c1bd8a2b9fbc304995fb03356f878579e50d3dd8.zip
Merge branch 'perf/urgent' into perf/core
To get some fixes that didn't made into 5.11. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl7
1 files changed, 0 insertions, 7 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 92e888ed939f..1afe3af1cc09 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -3390,13 +3390,6 @@ sub process {
}
}
-# discourage the use of boolean for type definition attributes of Kconfig options
- if ($realfile =~ /Kconfig/ &&
- $line =~ /^\+\s*\bboolean\b/) {
- WARN("CONFIG_TYPE_BOOLEAN",
- "Use of boolean is deprecated, please use bool instead.\n" . $herecurr);
- }
-
if (($realfile =~ /Makefile.*/ || $realfile =~ /Kbuild.*/) &&
($line =~ /\+(EXTRA_[A-Z]+FLAGS).*/)) {
my $flag = $1;