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: Xiaoyu Ye <benyxy@codeaurora.org>
This commit is contained in:
Xiaoyu Ye 2018-06-12 11:45:13 -07:00
parent 8c706aba34
commit 97f76efc86

View file

@ -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;