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

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

Merge "msm: adsprpc: Copy correct size for async job"

parents 51832884 593398e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3298,7 +3298,7 @@ static int fastrpc_internal_invoke2(struct fastrpc_file *fl,
			if (err)
				goto bail;
			memcpy(&p.inv, &p.inv3, sizeof(struct fastrpc_ioctl_invoke_crc));
			memcpy(&p.inv.job, &p.inv3.job, sizeof(struct fastrpc_async_job));
			memcpy(&p.inv.job, &p.inv3.job, sizeof(p.inv.job));
		} else {
			K_COPY_FROM_USER(err, 0, &p.inv, (void *)inv2->invparam, size);
			if (err)