From: Greg Kroah-Hartman Date: Tue, 4 May 2010 23:00:02 +0000 (-0700) Subject: Staging: comedi: mark a variable as __user X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=30162d690c3539594b6dcebd677c985c6a74249e;p=linux-beck.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; };