diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-11-11 10:49:10 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-11-12 09:03:59 -0800 |
commit | 3d709ab5a1767d422223e84cf5c20f0d33738274 (patch) | |
tree | 9f76e76c32d69c84bbfc045f1d315284c4d375ed /tools/testing/selftests/rcutorture | |
parent | checkpatch: Create table of obsolete APIs and apply to RCU (diff) | |
download | linux-dev-3d709ab5a1767d422223e84cf5c20f0d33738274.tar.xz linux-dev-3d709ab5a1767d422223e84cf5c20f0d33738274.zip |
checkpatch.pl: Suggest lockdep instead of asserting !spin_is_locked()
This commit points people who might otherwise code up something like
WARN_ON(!spin_is_locked(&mylock)) to lockdep_assert_held(&mylock).
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Joe Perches <joe@perches.com>
Diffstat (limited to 'tools/testing/selftests/rcutorture')
0 files changed, 0 insertions, 0 deletions