aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/basic/bin2c.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2015-10-05 14:23:09 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-12 21:16:05 -0700
commitac315c17f91d740c3cba4e83fcc73d7f75c967c0 (patch)
treeb0943ca9af0c52679886506e3e4092aae3bc1cff /scripts/basic/bin2c.c
parentstaging: comedi: quatech_daqp_cs: fix daqp_ai_cancel() (diff)
staging: comedi: quatech_daqp_cs: cleanup Step 3 of ai (*do_cmdtest)
Step 3 of the (*do_cmdtest) trivially validates the async command arguments. The validations also modify the arguments if they are invalid so that the user gets valid values if the test fails. Reorder the checks so that if any of the checks fail proper values are used for subsequent checks. 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 'scripts/basic/bin2c.c')
0 files changed, 0 insertions, 0 deletions