OSDN Git Service

genirq: Show irq name in non-oneshot error message
authorLuca Ceresoli <luca@lucaceresoli.net>
Tue, 5 Nov 2019 14:08:54 +0000 (15:08 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 9 Jan 2020 14:42:54 +0000 (15:42 +0100)
commit025af39b87dc4dc78de4e861ca8b88a1d5ba89f6
treecd28a031e218b729d672449117b9de83b1054ab2
parentc79f46a282390e0f5b306007bf7b11a46d529538
genirq: Show irq name in non-oneshot error message

Requesting a threaded IRQ with handler=NULL and !ONESHOT fails, but the
error message does not include the IRQ line name, which makes it harder to
find the offending driver.

Print the IRQ line name to clarify where the error comes from. Use the same
format as the other pr_err() above in the same function.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20191105140854.27893-1-luca@lucaceresoli.net
kernel/irq/manage.c