genirq: Show irq name in non-oneshot error message
[sfrench/cifs-2.6.git] / kernel / irq / manage.c
index 1753486b440cb031315ac089d5e3af2b9b3d4a24..b6c53ab053d2ff332d4a7d49a9c6211a1447173e 100644 (file)
@@ -1500,8 +1500,8 @@ __setup_irq(unsigned int irq, struct irq_desc *desc, struct irqaction *new)
                 * has. The type flags are unreliable as the
                 * underlying chip implementation can override them.
                 */
-               pr_err("Threaded irq requested with handler=NULL and !ONESHOT for irq %d\n",
-                      irq);
+               pr_err("Threaded irq requested with handler=NULL and !ONESHOT for %s (irq %d)\n",
+                      new->name, irq);
                ret = -EINVAL;
                goto out_unlock;
        }