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

Commit bc923347 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: adsprpc: Clean buffers on remote invocation failure"

parents c195799c 4d7fb4cc
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -2886,15 +2886,15 @@ static int fastrpc_internal_invoke(struct fastrpc_file *fl, uint32_t mode,
	inv_args(ctx);
	PERF_END);

	VERIFY(err, 0 == (err = ctx->retval));
	if (err)
		goto bail;

	PERF(fl->profile, GET_COUNTER(perf_counter, PERF_PUTARGS),
	VERIFY(err, 0 == (err = put_args(kernel, ctx, invoke->pra)));
	PERF_END);
	if (err)
		goto bail;

	VERIFY(err, 0 == (err = ctx->retval));
	if (err)
		goto bail;
 bail:
	if (ctx && interrupted == -ERESTARTSYS) {
		trace_fastrpc_context_interrupt(cid, (uint64_t)ctx,