aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2010-05-04 19:00:02 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-11 14:36:07 -0400
commit30162d690c3539594b6dcebd677c985c6a74249e (patch)
tree3a7b1da9dcad5e3270ecb4d9d7d85ca0e75993a4
parent6610944a91079a4002da310d3d5488feaae4a74a (diff)
Staging: comedi: mark a variable as __user
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>
-rw-r--r--drivers/staging/comedi/comedi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/comedi/comedi.h b/drivers/staging/comedi/comedi.h
index 45272d8bf97..8e4caaacfc1 100644
--- a/drivers/staging/comedi/comedi.h
+++ b/drivers/staging/comedi/comedi.h
@@ -354,7 +354,7 @@
354 unsigned int __user *chanlist; /* channel/range list */ 354 unsigned int __user *chanlist; /* channel/range list */
355 unsigned int chanlist_len; 355 unsigned int chanlist_len;
356 356
357 short *data; /* data list, size depends on subd flags */ 357 short __user *data; /* data list, size depends on subd flags */
358 unsigned int data_len; 358 unsigned int data_len;
359 }; 359 };
360 360