[PATCH 0/3] staging: comedi: cb_pcidas64: Fix insn->n assumptions

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

 



Fix some assumptions about the length of Comedi instructions in the
"cb_pcidas64" driver.

1) staging: comedi: cb_pcidas64: Use insn->n in AO insn_write handler
2) staging: comedi: cb_pcidas64: Use insn->n in EEPROM insn_read handler
3) staging: comedi: Check length of INSN_CONFIG_TIMER_1 instruction

 drivers/staging/comedi/comedi_fops.c         |  1 +
 drivers/staging/comedi/drivers/cb_pcidas64.c | 44 ++++++++++++++++++----------
 2 files changed, 30 insertions(+), 15 deletions(-)

_______________________________________________
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