[PATCH next] drm/tegra: Fix NULL vs IS_ERR() check in probe()
Thierry Reding
thierry.reding at gmail.com
Thu Oct 24 16:50:45 UTC 2024
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 <dan.carpenter at linaro.org>
> ---
> drivers/gpu/drm/tegra/drm.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20241024/ae09231f/attachment.sig>
More information about the dri-devel
mailing list