diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-02-25 10:30:26 +0300 |
---|---|---|
committer | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2025-03-05 05:34:13 +0300 |
commit | f9d1b528219beea3f42cc75504541611e1b8ca83 (patch) | |
tree | a35b2fbe01a7cd475a97b39c19b34b8d7c0883c2 /tools/perf/scripts/python/parallel-perf.py | |
parent | ea54cfac0f8c3b452de67371920ba16a322a6555 (diff) | |
download | linux-f9d1b528219beea3f42cc75504541611e1b8ca83.tar.xz |
drm/msm/dpu: fix error pointer dereference in msm_kms_init_aspace()
If msm_gem_address_space_create() fails, then return right away.
Otherwise it leads to a Oops when we dereference "aspace" on the next
line.
Fixes: eabba31a839a ("drm/msm: register a fault handler for display mmu faults")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/639357/
Link: https://lore.kernel.org/r/3221e88c-3351-42e6-aeb1-69f4f014b509@stanley.mountain
[DB: fixed commit id]
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions