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

Cédric Le Goater
2021-11-29T07:59:35Z

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