]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: fix NULL deref crash with SDI displays
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 24 May 2018 07:58:25 +0000 (10:58 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 24 May 2018 16:14:46 +0000 (19:14 +0300)
commitf24e94bf7b3d5a30b8c48d059aba471ecb6aee12
tree99985ce9d3926353a5cfcd82a7676120ba62307d
parent7e2c2b267b51ba72f74e7c53ccd1fa6956686e43
drm/omap: fix NULL deref crash with SDI displays

Fix a NULL deref bug introduced in commit 54fb8348d8a6 ("drm: omapdrm:
sdi: Allocate the sdi private data structure dynamically").

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/2f803bfc-3ffe-332a-7b9a-d59a39db4630@ti.com
Fixes: 54fb8348d8a6 ("drm: omapdrm: sdi: Allocate the sdi private data structure dynamically")
Reported-by: Tony Lindgren <tony@atomide.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Benoit Parrot <bparrot@ti.com>
drivers/gpu/drm/omapdrm/dss/sdi.c