projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7877327
)
[PATCH] mwave: missing __user in ioctl struct declaration
author
Al Viro
<viro@ftp.linux.org.uk>
Thu, 15 Dec 2005 09:19:00 +0000
(09:19 +0000)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 15 Dec 2005 18:04:31 +0000
(10:04 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/mwave/mwavepub.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/mwave/mwavepub.h
b/drivers/char/mwave/mwavepub.h
index f1f9da7a65c1f42d04fbfbf93223fb1d7658b55b..60c961ae23b4c18cab1ad744d583adfc080fdbc9 100644
(file)
--- 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)