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

Commit 97f76efc authored by Xiaoyu Ye's avatar Xiaoyu Ye
Browse files

asoc: msm-lsm-client: add __user attribute for IOCTL



Add __user attribute for msm_lsm_ioctl's input parameter
"*arg" to explicitly identify it as user space pointer.

Change-Id: I33e8a23cdef9eee9a55b77bb017716ccf2ba5f81
Signed-off-by: default avatarXiaoyu Ye <benyxy@codeaurora.org>
parent 8c706aba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1848,7 +1848,7 @@ static int msm_lsm_ioctl_compat(struct snd_pcm_substream *substream,
#endif

static int msm_lsm_ioctl(struct snd_pcm_substream *substream,
			 unsigned int cmd, void *arg)
			 unsigned int cmd, void __user *arg)
{
	int err = 0;
	u32 size = 0;