[PATCH 0/3] staging: comedi: cb_pcidas64: Fix insn->n assumptions
Ian Abbott
abbotti at mev.co.uk
Tue Oct 30 14:17:10 UTC 2018
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(-)
More information about the devel
mailing list