summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2018-10-30 14:17:13 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-07 13:05:39 +0100
commite3b9ea9aae7e1576516da2b125d7add20663f591 (patch)
tree9f4075abd9da4067532549f015cd49c6ee86fc1c /tools/perf/scripts/python/bin/stackcollapse-report
parentb33fc68c26a56d23b7221434dd367949420637bc (diff)
downloadlinux-e3b9ea9aae7e1576516da2b125d7add20663f591.tar.gz
linux-e3b9ea9aae7e1576516da2b125d7add20663f591.zip
staging: comedi: Check length of INSN_CONFIG_TIMER_1 instruction
The contents of the Comedi configuration instruction `INSN_CONFIG_TIMER_1` instruction are not very well defined, but the one driver that uses it (the "cb_pcidas64" driver for the PCI-DAS4020/12 card) assumes its `insn->n` is 5. Add a check in `check_insn_config_length()` to verify that `insn->n` is correct for this configuration instruction. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions