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:
parent
8c706aba34
commit
97f76efc86
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue