Skip to content

Commit

Permalink
Staging: comedi: mark a variable as __user
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed May 11, 2010
1 parent 6610944 commit 30162d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/comedi/comedi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit 30162d6

Please sign in to comment.