On 3/9/2022 12:41 PM, Dan Carpenter wrote:
> Hello Suravee Suthikulpanit,

Dan,

Thanks for the bug report.

.../...

> 
>     1979                 pr_err("IOMMU: Failed to initialize IOMMU-API 
> interface (error=%d)!\n",
>     1980                        ret);
>     1981                 goto out;
>     1982         }
>     1983 
>     1984         init_device_table_dma();
>     1985 
>     1986         for_each_iommu(iommu)
>     1987                 iommu_flush_all_caches(iommu);
>     1988 
> --> 1989         if (!ret)
> 
> Where before we just checked for errors here.  This condition is
> impossible now.

We missed to remove this check. We will send fix patch.


-Vasant

_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to