summaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2021-02-22 10:14:24 -0700
committerAlex Williamson <alex.williamson@redhat.com>2021-02-22 10:14:24 -0700
commit72d6e4871f0457dc9e498f8437ea344ee6b78075 (patch)
tree44a6975d7f0818086e34b8e84e3164527fac36f4 /scripts/checkpatch.pl
parentb9abef43a08ef7faa33477cccb0c08c64eb2b8bf (diff)
parent3e10585335b7967326ca7b4118cada0d2d00a2ab (diff)
downloadcachepc-linux-72d6e4871f0457dc9e498f8437ea344ee6b78075.tar.gz
cachepc-linux-72d6e4871f0457dc9e498f8437ea344ee6b78075.zip
Merge commit '3e10585335b7967326ca7b4118cada0d2d00a2ab' into v5.12/vfio/next
Update to new follow_pte() definition
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl13
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 92e888ed939f..4b2775fd31d9 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;
@@ -7069,12 +7062,6 @@ sub process {
}
}
-# check for mutex_trylock_recursive usage
- if ($line =~ /mutex_trylock_recursive/) {
- ERROR("LOCKING",
- "recursive locking is bad, do not use this ever.\n" . $herecurr);
- }
-
# check for lockdep_set_novalidate_class
if ($line =~ /^.\s*lockdep_set_novalidate_class\s*\(/ ||
$line =~ /__lockdep_no_validate__\s*\)/ ) {