From: Ingo Molnar Turn two more BUG messages into INFO messages, as they can be either false positives or bugs. Signed-off-by: Ingo Molnar Cc: Arjan van de Ven Signed-off-by: Andrew Morton --- kernel/lockdep.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff -puN kernel/lockdep.c~lockdep-core-improve-bug-messages kernel/lockdep.c --- a/kernel/lockdep.c~lockdep-core-improve-bug-messages +++ a/kernel/lockdep.c @@ -723,7 +723,7 @@ print_bad_irq_dependency(struct task_str return 0; printk("\n======================================================\n"); - printk( "[ BUG: %s-safe -> %s-unsafe lock order detected! ]\n", + printk( "[ INFO: %s-safe -> %s-unsafe lock order detected ]\n", irqclass, irqclass); printk( "------------------------------------------------------\n"); printk("%s/%d [HC%u[%lu]:SC%u[%lu]:HE%u:SE%u] is trying to acquire:\n", @@ -756,8 +756,6 @@ print_bad_irq_dependency(struct task_str print_stack_trace(forwards_match->usage_traces + bit2, 1); - printk("\nwhich could potentially lead to deadlocks!\n"); - printk("\nother info that might help us debug this:\n\n"); lockdep_print_held_locks(curr); @@ -1461,11 +1459,11 @@ print_usage_bug(struct task_struct *curr if (debug_locks_silent) return 0; - printk("\n============================\n"); - printk( "[ BUG: illegal lock usage! ]\n"); - printk( "----------------------------\n"); + printk("\n=================================\n"); + printk( "[ INFO: inconsistent lock state ]\n"); + printk( "---------------------------------\n"); - printk("illegal {%s} -> {%s} usage.\n", + printk("inconsistent {%s} -> {%s} usage.\n", usage_str[prev_bit], usage_str[new_bit]); printk("%s/%d [HC%u[%lu]:SC%u[%lu]:HE%u:SE%u] takes:\n", _