[PATCH] drm/imx/lcdc: fix a NULL vs IS_ERR() bug in probe

Javier Martinez Canillas javierm at redhat.com
Sat Apr 15 21:51:28 UTC 2023


Uwe Kleine-König <u.kleine-koenig at pengutronix.de> writes:

> On Wed, Mar 22, 2023 at 12:06:55PM +0300, Dan Carpenter wrote:
>> The devm_drm_dev_alloc() function returns error pointers.  It never
>> returns NULL.  Fix the check.
>> 
>> Fixes: c87e859cdeb5 ("drm/imx/lcdc: Implement DRM driver for imx25")
>> Signed-off-by: Dan Carpenter <error27 at gmail.com>
>
> Reviewed-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
>

Pushed to drm-misc (drm-misc-next). Thanks!

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat



More information about the dri-devel mailing list