[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch V3 16/22] genirq/msi: Provide new domain id based interfaces for freeing interrupts



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.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.