diff options
author | Jordan Crouse <jcrouse@codeaurora.org> | 2019-05-07 13:18:10 -0600 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2019-06-18 13:52:39 -0700 |
commit | fecabfd9241f6c41ffa975803682028361791cad (patch) | |
tree | a17af35134bafc9530d4b3b2f9b6e6623976bfe2 /crypto/cts.c | |
parent | 36415615adf4b55668a99ba4565bdd38733e5bff (diff) | |
download | linux-fecabfd9241f6c41ffa975803682028361791cad.tar.bz2 |
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 'crypto/cts.c')
0 files changed, 0 insertions, 0 deletions