From: Arjan van de Ven Replace a printk+WARN_ON() by a WARN(); this increases the chance of the string making it into the bugreport (ie: it goes inside the ---[ cut here ]--- section) Signed-off-by: Arjan van de Ven Cc: Thomas Gleixner Cc: Ingo Molnar Signed-off-by: Andrew Morton --- kernel/irq/manage.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff -puN kernel/irq/manage.c~kernel-irq-managec-replace-a-printk-warn_on-to-a-warn kernel/irq/manage.c --- a/kernel/irq/manage.c~kernel-irq-managec-replace-a-printk-warn_on-to-a-warn +++ a/kernel/irq/manage.c @@ -247,9 +247,7 @@ int set_irq_wake(unsigned int irq, unsig set_wake = NULL; } else { if (desc->wake_depth == 0) { - printk(KERN_WARNING "Unbalanced IRQ %d " - "wake disable\n", irq); - WARN_ON(1); + WARN(1, "Unbalanced IRQ %d wake disable\n", irq); } else if (--desc->wake_depth == 0) desc->status &= ~IRQ_WAKEUP; else _