]> 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)
commit79ed56de0d2ecdf02720ea275c49415e251d821c
tree99985ce9d3926353a5cfcd82a7676120ba62307d
parent99a2126f11f8e17e3062d7a5038bd28c7b34e77b
drm/omap: fix NULL deref crash with SDI displays

Fix a NULL deref bug introduced in commit 0b4da743a0c9 ("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: 0b4da743a0c9 ("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