From 2458c4d3e784549971b959b6ce561e7a91ddc568 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 27 Oct 2006 17:18:51 +0000 Subject: [PATCH] check length of INSN_CONFIG_ANALOG_TRIG --- comedi/comedi_fops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/comedi/comedi_fops.c b/comedi/comedi_fops.c index 28d2506d..07cc56e9 100644 --- a/comedi/comedi_fops.c +++ b/comedi/comedi_fops.c @@ -649,6 +649,7 @@ static int check_insn_config_length(comedi_insn *insn, lsampl_t *data) if(insn->n == 3) return 0; break; case INSN_CONFIG_PWM_OUTPUT: + case INSN_CONFIG_ANALOG_TRIG: if(insn->n == 5) return 0; break; //by default we allow the insn since we don't have checks for all possible cases yet -- 2.26.2