Skip to contentSkip to conversation

mwave: missing __user in ioctl struct declaration

PATCH New Al Viro 1 participant 1 message Dec 15, 2005 Char and misc drivers

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 mwave: missing __user in ioctl struct declaration

---

 drivers/char/mwave/mwavepub.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

905ac4d19777f529814885cdb3fa2c5ce2fb7fcd

drivers/char/mwave/mwavepub.h +1 -1
index f1f9da7..60c961a 100644
@@ -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