diff options
author | Roy Spliet <nouveau@spliet.org> | 2020-04-07 20:07:37 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-05-18 19:26:32 +0300 |
commit | e4337877c5d578722c0716f131fb774522013cf5 (patch) | |
tree | 6ba211861efc2284fb9ba5865eee3c8ef5652cb2 /drivers/gpu/drm/msm/Makefile | |
parent | e4b397f6a54c1b653b65c3dbcf3d3a157f580355 (diff) | |
download | linux-e4337877c5d578722c0716f131fb774522013cf5.tar.xz |
drm/msm/mdp5: Fix mdp5_init error path for failed mdp5_kms allocation
When allocation for mdp5_kms fails, calling mdp5_destroy() leads to undefined
behaviour, likely a nullptr exception or use-after-free troubles.
Signed-off-by: Roy Spliet <nouveau@spliet.org>
Reviewed-by: Abhinav Kumar <abhinavk@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/Makefile')
0 files changed, 0 insertions, 0 deletions