mwave: missing __user in ioctl struct declaration
PATCH 1/1 mwave: missing __user in ioctl struct declaration
Signed-off-by Al Viro <[email protected]>
---
drivers/char/mwave/mwavepub.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
905ac4d19777f529814885cdb3fa2c5ce2fb7fcd
drivers/char/mwave/mwavepub.h +1 -1
@@ -69,7 +69,7 @@ typedef struct _MW_ABILITIES {typedef struct _MW_READWRITE {unsigned short usDspAddress;/* The dsp address */ 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 ;#define IOCTL_MW_RESET _IO(MWAVE_MINOR,1)
Signature · 1 line
0.99.9.GIT