diff options
Diffstat (limited to 'lib/locking-selftest.c')
| -rw-r--r-- | lib/locking-selftest.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/lib/locking-selftest.c b/lib/locking-selftest.c index cd0b5c964bd0..b5c1293ce147 100644 --- a/lib/locking-selftest.c +++ b/lib/locking-selftest.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0  /*   * lib/locking-selftest.c   * @@ -2031,11 +2032,13 @@ void locking_selftest(void)  	print_testname("mixed read-lock/lock-write ABBA");  	pr_cont("             |");  	dotest(rlock_ABBA1, FAILURE, LOCKTYPE_RWLOCK); +#ifdef CONFIG_PROVE_LOCKING  	/*  	 * Lockdep does indeed fail here, but there's nothing we can do about  	 * that now.  Don't kill lockdep for it.  	 */  	unexpected_testcase_failures--; +#endif  	pr_cont("             |");  	dotest(rwsem_ABBA1, FAILURE, LOCKTYPE_RWSEM); |