summaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2016-07-04 15:32:25 +0200
committerThomas Gleixner <tglx@linutronix.de>2016-07-04 15:32:25 +0200
commit4364e1a29be16b2783c0bcbc263f61236af64281 (patch)
tree4d6b192761686831adea4b2452878d62b7bf0f27 /kernel/irq
parent8658be133baa92c06b6d832a436d437deb2e2a22 (diff)
downloadtalos-obmc-linux-4364e1a29be16b2783c0bcbc263f61236af64281.tar.gz
talos-obmc-linux-4364e1a29be16b2783c0bcbc263f61236af64281.zip
genirq/msi: Fix broken debug output
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>
Diffstat (limited to 'kernel/irq')
-rw-r--r--kernel/irq/msi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/irq/msi.c b/kernel/irq/msi.c
index 0e2a736b14a7..54999350162c 100644
--- 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
OpenPOWER on IntegriCloud