Messages in this thread | | | Subject | Re: [patch V3 16/22] genirq/msi: Provide new domain id based interfaces for freeing interrupts | From | David Woodhouse <> | Date | Mon, 16 Jan 2023 10:10:39 +0000 |
| |
On Mon, 2023-01-16 at 09:56 +0000, David Woodhouse wrote: > > msi_for_each_desc(msidesc, &dev->dev, MSI_DESC_ASSOCIATED) { > - for (i = 0; i < msidesc->nvec_used; i++) > + for (i = 0; i < msidesc->nvec_used; i++) { > xen_destroy_irq(msidesc->irq + i); > + msidesc->irq = 0; > + } > } > } >
Der, setting it to zero wants to be in the msi_for_each_desc() loop and *not* in the 'for i' loop of course. [unhandled content-type:application/pkcs7-signature] | |