Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e128ce24 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/msm/sde: avoid null pointer dereference in secure_check"

parents 30c03e54 4db71f23
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2003,7 +2003,7 @@ static int sde_kms_check_secure_transition(struct msm_kms *kms,
		} else if (global_crtc && (global_crtc != cur_crtc)) {
			SDE_ERROR(
			    "crtc%d-sec%d not allowed during crtc%d-sec%d\n",
				cur_crtc->base.id, sec_session,
				cur_crtc ? cur_crtc->base.id : -1, sec_session,
				global_crtc->base.id, global_sec_session);
			return -EPERM;
		}