+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); + } + } +}