]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec9a361960d5fd2eb2fbf6e9d0ff960a80440f90
tree75a08893c1648e10680e2f28ffbc35a0470f67da
parent85e28de72fb2bfe1f8a7a1c77e38fc215d875559
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