Commit 833882b4 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

[PATCH] mwave: missing __user in ioctl struct declaration

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 7877327d
...@@ -69,7 +69,7 @@ typedef struct _MW_ABILITIES { ...@@ -69,7 +69,7 @@ typedef struct _MW_ABILITIES {
typedef struct _MW_READWRITE { typedef struct _MW_READWRITE {
unsigned short usDspAddress; /* The dsp address */ unsigned short usDspAddress; /* The dsp address */
unsigned long ulDataLength; /* The size in bytes of the data or user buffer */ unsigned long ulDataLength; /* The size in bytes of the data or user buffer */
void *pBuf; /* Input:variable sized buffer */ void __user *pBuf; /* Input:variable sized buffer */
} MW_READWRITE, *pMW_READWRITE; } MW_READWRITE, *pMW_READWRITE;
#define IOCTL_MW_RESET _IO(MWAVE_MINOR,1) #define IOCTL_MW_RESET _IO(MWAVE_MINOR,1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment