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

Commit 64d06692 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: Advance the profiling shared buffer on error"

parents bdfd0df5 d9ac307a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -442,6 +442,11 @@ static void transfer_results(struct kgsl_device *device,
					profile, *(ptr + buf_off++));
			if (assigns_list == NULL) {
				*log_ptr = (unsigned int) -1;

				shared_buf_inc(profile->shared_size,
					&profile->shared_tail,
					SIZE_SHARED_ENTRY(cnt));

				goto err;
			} else {
				*log_ptr = assigns_list->groupid << 16 |