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

[Xen-devel] Ping: [PATCH] AMD/IOMMU: don't open-code for_each_amd_iommu()



>>> On 05.04.19 at 09:01, <JBeulich@xxxxxxxx> wrote:
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> 
> --- a/xen/drivers/passthrough/amd/iommu_intr.c
> +++ b/xen/drivers/passthrough/amd/iommu_intr.c
> @@ -503,7 +503,7 @@ static struct amd_iommu *_find_iommu_for
>  {
>      struct amd_iommu *iommu;
>  
> -    list_for_each_entry ( iommu, &amd_iommu_head, list )
> +    for_each_amd_iommu ( iommu )
>          if ( iommu->seg == seg && iommu->bdf == bdf )
>              return NULL;
>  



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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