[PATCH 00/50] staging: comedi: sparse fixes for comedi core

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed Sep 19 10:26:53 UTC 2012


On Wed, Sep 19, 2012 at 11:19:25AM +0100, Ian Abbott wrote:
> 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.

Not a problem, I've now picked up those three patches.

greg k-h



More information about the devel mailing list