On 2012-09-18 19:46, Ian Abbott wrote:
Introduce a `struct comedi_kcmd` to shadow the `struct comedi_cmd` used by the `COMEDI_CMD` and `COMEDI_CMDTEST` ioctls defined in "comedi.h". Change the low-level comedi drivers and the comedi core to use the new type for the kernel copy of the comedi command. Patches 48 to 50 fix some other sparse warnings in the comedi core. One of these (patch 49) is an actual bug fix correcting an invalid dereference of user-space memory. (Useful, this "sparse" thing!)
Greg, most of these are redundant now, but patches 48, 49 and 50 are independent of the others and still relevant if you want to apply them. Otherwise I'll repost them separately.
-- -=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@xxxxxxxxx> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=- _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel