On Wed, Jul 6, 2016 at 9:23 PM, weiyj_lk@163.com wrote:
From: Wei Yongjun yongjun_wei@trendmicro.com.cn
In case of error, the function iommu_domain_alloc() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test.
Reviewed-by: Alexandre Courbot acourbot@nvidia.com
Thanks!