From: Greg Kroah-Hartman Date: Tue, 4 May 2010 23:00:02 +0000 (-0700) Subject: Staging: comedi: mark a variable as __user X-Git-Tag: MMI-PSA29.97-13-9~23841^2^2~229 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=30162d690c3539594b6dcebd677c985c6a74249e;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: comedi: mark a variable as __user This is really a userspace pointer, so mark it as such. Cc: Ian Abbott Cc: Frank Mori Hess Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/comedi.h b/drivers/staging/comedi/comedi.h index 45272d8bf972..8e4caaacfc1c 100644 --- 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; };