diff options
author | 2019-05-07 13:18:10 -0600 | |
---|---|---|
committer | 2019-06-18 13:52:39 -0700 | |
commit | fecabfd9241f6c41ffa975803682028361791cad (patch) | |
tree | a17af35134bafc9530d4b3b2f9b6e6623976bfe2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/msm/dpu: Fix error recovery after failing to enable clocks (diff) | |
download | linux-rng-fecabfd9241f6c41ffa975803682028361791cad.tar.xz linux-rng-fecabfd9241f6c41ffa975803682028361791cad.zip |
drm/msm/dpu: Avoid a null de-ref while recovering from kms init fail
In the failure path for dpu_kms_init() it is possible to get to the MMU
destroy function with uninitialized MMU structs. Check for NULL and skip
if needed.
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions