summaryrefslogtreecommitdiff
path: root/include/linux/stacktrace.h
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-09-09 16:16:04 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-11 14:35:22 -0700
commit32f9ff7039eb59eaef0c153328601ac6164b746a (patch)
tree5572b57ea16b4e6cabae70436bea0f9d2c7c7da3 /include/linux/stacktrace.h
parent8b9505527e5560297be00094fb4819b0e91e4138 (diff)
staging: comedi: s626: fix cmd->stop_arg validation for stop_src == TRIG_COUNT
The only limit for the stop_arg with a stop_src == TRIG_COUNT is that there is at least 1 scan in order to prevent an empty acquisition. The max test is bogus. Fix the validation. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions