浏览代码

msm: adsprpc: fix remote argument array size

The remote argument array size is more than the utilized.
Add fix to have proper array size to accommodate the
arguments for remote invocation.

Change-Id: Id0b290eebae850765f24e22918166d7e9d8827c4
Signed-off-by: Vamsi Krishna Gattupalli <[email protected]>
Vamsi Krishna Gattupalli 2 年之前
父节点
当前提交
d0ad5cc2d5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dsp/adsprpc.c

+ 1 - 1
dsp/adsprpc.c

@@ -4308,7 +4308,7 @@ static int fastrpc_send_cpuinfo_to_dsp(struct fastrpc_file *fl)
 	uint64_t cpuinfo = 0;
 	struct fastrpc_apps *me = &gfa;
 	struct fastrpc_ioctl_invoke_async ioctl;
-	remote_arg_t ra[2];
+	remote_arg_t ra[1];
 	int cid = -1;
 
 	if (!fl) {