You need to sign in or sign up before continuing.
iommu/tegra-smmu: Fix return value check in tegra_smmu_group_get()
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>
Showing
想要评论请 注册 或 登录