summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2023-03-22 12:06:55 +0300
committerJavier Martinez Canillas <javierm@redhat.com>2023-04-15 23:48:48 +0200
commitdae2f7b89a8436351a2982d0d96a8a56accca576 (patch)
tree772a24adcb6a95b8d72f13723cbecdb21f4ed7e9 /tools/perf/scripts/python
parentebb7619d3ac85d7aae0a5e8d7038d32211ca7dba (diff)
drm/imx/lcdc: fix a NULL vs IS_ERR() bug in probe
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@gmail.com> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/d0a1fc55-3ef6-444e-b3ef-fdc937d8d57a@kili.mountain
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions