[PATCH] mwave: missing __user in ioctl struct declaration

From: Al Viro
Date: Thu Dec 15 2005 - 04:19:30 EST



Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>


---

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

905ac4d19777f529814885cdb3fa2c5ce2fb7fcd
diff --git a/drivers/char/mwave/mwavepub.h b/drivers/char/mwave/mwavepub.h
index f1f9da7..60c961a 100644
--- a/drivers/char/mwave/mwavepub.h
+++ b/drivers/char/mwave/mwavepub.h
@@ -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)
--
0.99.9.GIT

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/