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

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

Merge "msm: kgsl: Fix dispatch_q NULL dereference"

parents 47429a5a d0e14405
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1814,7 +1814,7 @@ static int dispatcher_do_fault(struct adreno_device *adreno_dev)
		}
	}

	if (!adreno_cmdqueue_is_empty(dispatch_q)) {
	if (dispatch_q && !adreno_cmdqueue_is_empty(dispatch_q)) {
		cmdbatch = dispatch_q->cmd_q[dispatch_q->head];
		trace_adreno_cmdbatch_fault(cmdbatch, fault);
	}