lockdep/selftests: Fix PROVE_RAW_LOCK_NESTING
authorPeter Zijlstra <peterz@infradead.org>
Fri, 30 Oct 2020 11:37:43 +0000 (12:37 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 3 Dec 2020 10:20:50 +0000 (11:20 +0100)
commita2e9ae58d5042b3aa4a61f676ff6975ff3bc7bc7
tree7cd93f666afed0ee02a9374594e364588ce7ba28
parenta07c45312f06e288417049208c344ad76074627d
lockdep/selftests: Fix PROVE_RAW_LOCK_NESTING

The selftest nests rwlock_t inside raw_spinlock_t, this is invalid.

Reported-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
lib/locking-selftest.c