-
由 Wei Yongjun 提交于
In case of error, the function iommu_group_alloc() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: 7f4c9176 ("iommu/tegra: Allow devices to be grouped") Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com> Acked-by: NAlex Williamson <alex.williamson@redhat.com> Signed-off-by: NThierry Reding <treding@nvidia.com>
83476bfa