This one has been posted, so can be ignored here.

On 01/26/16 at 06:29pm, Baoquan He wrote:
> Signed-off-by: Baoquan He <b...@redhat.com>
> ---
>  drivers/iommu/amd_iommu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c
> index dda703b..02c6ed9 100644
> --- a/drivers/iommu/amd_iommu.c
> +++ b/drivers/iommu/amd_iommu.c
> @@ -2051,7 +2051,7 @@ static void do_attach(struct iommu_dev_data *dev_data,
>               /* Update device table */
>               set_dte_entry(dev_data->devid, domain, ats);
>               if (alias != dev_data->devid)
> -                     set_dte_entry(dev_data->devid, domain, ats);
> +                     set_dte_entry(alias, domain, ats);
>  
>               device_flush_dte(dev_data);
>       }
> -- 
> 2.1.0
> 
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to