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

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

Merge "msm: ocmem: Update error handling in function __sched_grow"

parents aa1843c7 611ad28f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -768,7 +768,7 @@ retry_next_step:
			region = create_region();
			if (!region) {
				pr_err("ocmem: Unable to create region\n");
				goto region_error;
				goto internal_error;
			}
		}

@@ -851,8 +851,8 @@ region_error:
	detach_req(region, req);
	update_region_prio(region);
	/* req is going to be destroyed by the caller anyways */
internal_error:
	destroy_region(region);
internal_error:
invalid_op_error:
	return OP_FAIL;
}