projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8658be1
)
genirq/msi: Fix broken debug output
author
Thomas Gleixner
<tglx@linutronix.de>
Mon, 4 Jul 2016 13:32:25 +0000
(15:32 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Mon, 4 Jul 2016 13:32:25 +0000
(15:32 +0200)
virq is not required to be the same for all msi descs. Use the base irq number
from the desc in the debug printk.
Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/msi.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/irq/msi.c
b/kernel/irq/msi.c
index 0e2a736b14a7f03048be7b6343b46c32fa8d62ee..54999350162cbc89326a67a3728814e17871d784 100644
(file)
--- a/
kernel/irq/msi.c
+++ b/
kernel/irq/msi.c
@@
-353,6
+353,7
@@
int msi_domain_alloc_irqs(struct irq_domain *domain, struct device *dev,
ops->msi_finish(&arg, 0);
for_each_msi_entry(desc, dev) {
+ virq = desc->irq;
if (desc->nvec_used == 1)
dev_dbg(dev, "irq %d for MSI\n", virq);
else