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

Commit 89a9cf30 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 profiling bounds check to take all data"

parents 1305e901 cfffd640
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -717,10 +717,10 @@ static ssize_t profile_assignments_write(struct file *filep,
	buf[len] = '\0';

	/* parse file buf and add(remove) to(from) appropriate lists */
	while (1) {
	while (pbuf) {
		pbuf = _parse_next_assignment(adreno_dev, pbuf, &groupid,
				&countable, &remove_assignment);
		if (pbuf == NULL)
		if (groupid < 0 || countable < 0)
			break;

		if (remove_assignment)