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
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to