Staging: comedi: __user markup on comedi_fops.c
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 May 2010 23:32:28 +0000 (16:32 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:03 +0000 (11:36 -0700)
commit92d0127c9d249c078b0939050f25041ed37be7cd
tree75a08893c1648e10680e2f28ffbc35a0470f67da
parent7029a87455af3cf303e8d6d0db8c26b6a94f1020
Staging: comedi: __user markup on comedi_fops.c

Hm, what a mess.  I tried to properly mark up the __user pointers,
but for some of these structures, we use them both in the kernel,
and across the user/kernel boundry, which isn't ok.  So we end
up generating a few new sparse warnings in places we were not before,
but the large majority of things are now properly tagged in the fops
file.

The whole ioctl interface needs to be carefully looked at in the future.

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
drivers/staging/comedi/comedi_fops.c