[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <157858746402.30329.9327836906001451057.tip-bot2@tip-bot2>
Date: Thu, 09 Jan 2020 16:31:04 -0000
From: "tip-bot2 for Luca Ceresoli" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Luca Ceresoli <luca@...aceresoli.net>,
Thomas Gleixner <tglx@...utronix.de>, x86 <x86@...nel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: [tip: irq/core] genirq: Show irq name in non-oneshot error message
The following commit has been merged into the irq/core branch of tip:
Commit-ID: 025af39b87dc4dc78de4e861ca8b88a1d5ba89f6
Gitweb: https://git.kernel.org/tip/025af39b87dc4dc78de4e861ca8b88a1d5ba89f6
Author: Luca Ceresoli <luca@...aceresoli.net>
AuthorDate: Tue, 05 Nov 2019 15:08:54 +01:00
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitterDate: Thu, 09 Jan 2020 15:42:54 +01:00
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@...aceresoli.net>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Link: https://lore.kernel.org/r/20191105140854.27893-1-luca@lucaceresoli.net
---
kernel/irq/manage.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 1753486..b6c53ab 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -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;
}
Powered by blists - more mailing lists