[PATCH 0/2] staging: comedi: tidy up the COMEDI_CMD{TEST} ioctls

H Hartley Sweeten hsweeten at visionengravers.com
Thu Mar 6 19:02:55 UTC 2014


Introduce some helper functions to handle the user space to kernel space
copying of the comedi_cmd and chanlist data for the COMEDI_CMD and
COMEDI_CMDTEST ioctls.

This gets all the dev_dbg() into one place and clarifies the functions a
bit.

H Hartley Sweeten (2):
  staging: comedi: comedi_fops: introduce __comedi_get_user_cmd()
  staging: comedi: comedi_fops: introduce __comedi_get_user_chanlist()

 drivers/staging/comedi/comedi_fops.c | 171 +++++++++++++++++------------------
 1 file changed, 81 insertions(+), 90 deletions(-)

-- 
1.8.5.2



More information about the devel mailing list