locking/selftests: Add a selftest for check_irq_usage()
authorBoqun Feng <boqun.feng@gmail.com>
Fri, 18 Jun 2021 17:01:10 +0000 (01:01 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 22 Jun 2021 14:42:07 +0000 (16:42 +0200)
commit8946ccc25ed22d957ca7f0b6fac1dcf6d25eaf1f
tree46db1566de9958bee8ee674952b46c7b10ad3b87
parent7b1f8c6179769af6ffa055e1169610b51d71edd5
locking/selftests: Add a selftest for check_irq_usage()

Johannes Berg reported a lockdep problem which could be reproduced by
the special test case introduced in this patch, so add it.

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210618170110.3699115-5-boqun.feng@gmail.com
lib/locking-selftest.c