diff options
author | Thomas Zimmermann <[email protected]> | 2023-02-22 13:37:12 +0100 |
---|---|---|
committer | Rob Clark <[email protected]> | 2023-02-22 11:22:03 -0800 |
commit | 796762f0506077c4f048b4eb05de2f587f488bce (patch) | |
tree | 6d70a9e3d73772a57e3aa9d58bc699df2758a2cc /drivers/usb/cdns3/cdns3-trace.c | |
parent | 8a86f213f4426f19511a16d886871805b35c3acf (diff) |
drm/msm: Fix possible uninitialized access in fbdev
Do not run drm_fb_helper_unprepare() if fbdev allocation fails. Avoids
access to an uninitialized pointer. Original bug report is at [1].
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Thomas Zimmermann <[email protected]>
Fixes: 3fb1f62f80a1 ("drm/fb-helper: Remove drm_fb_helper_unprepare() from drm_fb_helper_fini()")
Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/ # 1
Reviewed-by: Dmitry Baryshkov <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/523715/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions