projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f319d4
)
checkpatch: Don't check for mutex_trylock_recursive()
author
Sebastian Andrzej Siewior
<bigeasy@linutronix.de>
Wed, 10 Feb 2021 08:52:48 +0000
(09:52 +0100)
committer
Peter Zijlstra
<peterz@infradead.org>
Wed, 10 Feb 2021 13:44:40 +0000
(14:44 +0100)
mutex_trylock_recursive() has been removed from the tree, there is no
need to check for it.
Remove traces of mutex_trylock_recursive()'s existence.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link:
https://lkml.kernel.org/r/20210210085248.219210-3-bigeasy@linutronix.de
scripts/checkpatch.pl
patch
|
blob
|
history
diff --git
a/scripts/checkpatch.pl
b/scripts/checkpatch.pl
index 92e888ed939f9833a3b17f32ae7d15813ec4c46f..15f7f4fa6b9911728b7915114ba55ce97f47da43 100755
(executable)
--- a/
scripts/checkpatch.pl
+++ b/
scripts/checkpatch.pl
@@
-7069,12
+7069,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*\)/ ) {