Re: [patch 17/22] PCI/MSI: Split out !IRQDOMAIN code

From: Cédric Le Goater
Date: Mon Nov 29 2021 - 02:59:34 EST



+void __weak arch_teardown_msi_irqs(struct pci_dev *dev)
+{
+ struct msi_desc *desc;
+ int i;
+
+ for_each_pci_msi_entry(desc, dev) {
+ if (desc->irq) {
+ for (i = 0; i < entry->nvec_used; i++)

I guess this is 'desc' ?

Thanks,

C.

+ arch_teardown_msi_irq(desc->irq + i);
+ }
+ }
+}