commit | b0a2b6d8ac9ce5d27c9086a196d8f44194561979 | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Wed Nov 14 11:22:57 2012 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 14 16:25:08 2012 -0800 |
tree | c895dda68bf35495ba4db13aca375132f321c6bb | |
parent | 33cdce6293dcc0b10dcaa8bb5e6fdc8e56b5968f [diff] |
staging: comedi: check data length for INSN_CONFIG_DIGITAL_TRIG The newly defined format for the `INSN_CONFIG_DIGITAL_TRIG` configuration instruction expects 6 data values. Check the length in `check_insn_config_length()` before calling the comedi subdevice's `insn_config` handler. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>