Commit 833882b452046d3d5028f6293a0a6d6d3c1eee3c

Authored by Al Viro
Committed by Linus Torvalds
1 parent 7877327d9c

[PATCH] mwave: missing __user in ioctl struct declaration

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/char/mwave/mwavepub.h
... ... @@ -69,7 +69,7 @@
69 69 typedef struct _MW_READWRITE {
70 70 unsigned short usDspAddress; /* The dsp address */
71 71 unsigned long ulDataLength; /* The size in bytes of the data or user buffer */
72   - void *pBuf; /* Input:variable sized buffer */
  72 + void __user *pBuf; /* Input:variable sized buffer */
73 73 } MW_READWRITE, *pMW_READWRITE;
74 74  
75 75 #define IOCTL_MW_RESET _IO(MWAVE_MINOR,1)