Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4364e1a2 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

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: default avatarIngo Molnar <mingo@kernel.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 8658be13
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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