projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6610944
)
Staging: comedi: mark a variable as __user
author
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 4 May 2010 23:00:02 +0000
(16:00 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 11 May 2010 18:36:07 +0000
(11:36 -0700)
This is really a userspace pointer, so mark it as such.
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/comedi.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/comedi/comedi.h
b/drivers/staging/comedi/comedi.h
index 45272d8bf9720c72d671efe827ca193878cd6ee7..8e4caaacfc1ca2b25313bdcba9081e82d3a502e3 100644
(file)
--- a/
drivers/staging/comedi/comedi.h
+++ b/
drivers/staging/comedi/comedi.h
@@
-354,7
+354,7
@@
unsigned int __user *chanlist; /* channel/range list */
unsigned int chanlist_len;
- short
*data;
/* data list, size depends on subd flags */
+ short
__user *data;
/* data list, size depends on subd flags */
unsigned int data_len;
};