From: Al Viro Date: Thu, 15 Dec 2005 09:19:00 +0000 (+0000) Subject: [PATCH] mwave: missing __user in ioctl struct declaration X-Git-Tag: v2.6.15-rc6~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=833882b452046d3d5028f6293a0a6d6d3c1eee3c;p=profile%2Fivi%2Fkernel-x86-ivi.git [PATCH] mwave: missing __user in ioctl struct declaration Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/mwave/mwavepub.h b/drivers/char/mwave/mwavepub.h index f1f9da7..60c961ae 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)