mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
[PATCH] lockdep: show more details about self-test failures
Make the locking self-test failures (of 'FAILURE' type) easier to debug by printing more information. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
50cc670aeb
commit
2ee91f197c
@@ -963,7 +963,9 @@ static void dotest(void (*testcase_fn)(void), int expected, int lockclass_mask)
|
||||
printk("failed|");
|
||||
} else {
|
||||
unexpected_testcase_failures++;
|
||||
|
||||
printk("FAILED|");
|
||||
dump_stack();
|
||||
}
|
||||
} else {
|
||||
testcase_successes++;
|
||||
|
Reference in New Issue
Block a user