[PATCH] drm/imx/lcdc: fix a NULL vs IS_ERR() bug in probe
Dan Carpenter
dan.carpenter at linaro.org
Wed May 3 08:52:44 UTC 2023
On Sat, Apr 15, 2023 at 11:51:28PM +0200, Javier Martinez Canillas wrote:
> 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!
>
This still hasn't hit linux-next (although the latest linux-next is
from last Friday, Apr 28, so maybe it will soon?)
regards,
dan carpenter
More information about the dri-devel
mailing list