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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux