Re: [PATCH next] drm/tegra: Fix NULL vs IS_ERR() check in probe()

2024-10-24 Thread Thierry Reding
On Fri, Sep 13, 2024 at 05:34:54PM +0300, Dan Carpenter wrote: > The iommu_paging_domain_alloc() function doesn't return NULL pointers, > it returns error pointers. Update the check to match. > > Fixes: 45c690aea8ee ("drm/tegra: Use iommu_paging_domain_alloc()") > Signed-off-by: Dan Carpenter >

Re: [PATCH next] drm/tegra: Fix NULL vs IS_ERR() check in probe()

2024-09-13 Thread Baolu Lu
On 9/13/24 10:34 PM, Dan Carpenter wrote: The iommu_paging_domain_alloc() function doesn't return NULL pointers, it returns error pointers. Update the check to match. Fixes: 45c690aea8ee ("drm/tegra: Use iommu_paging_domain_alloc()") Signed-off-by: Dan Carpenter --- drivers/gpu/drm/tegra/drm

[PATCH next] drm/tegra: Fix NULL vs IS_ERR() check in probe()

2024-09-13 Thread Dan Carpenter
The iommu_paging_domain_alloc() function doesn't return NULL pointers, it returns error pointers. Update the check to match. Fixes: 45c690aea8ee ("drm/tegra: Use iommu_paging_domain_alloc()") Signed-off-by: Dan Carpenter --- drivers/gpu/drm/tegra/drm.c | 4 ++-- 1 file changed, 2 insertions(+)