Commit df42b8f4 authored by Deepak R Varma's avatar Deepak R Varma Committed by Greg Kroah-Hartman

staging: comedi: rtd520: Resolve multiline dereference

Reformat multi-line dereferencing of function arguments
&cmd->scan_begin_arg. Problem detected by checkpatch script.
Signed-off-by: default avatarDeepak R Varma <mh12gx2825@gmail.com>
Link: https://lore.kernel.org/r/20200314214154.GA3904@deeUbuntuSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 45621fc9
...@@ -815,9 +815,8 @@ static int rtd_ai_cmdtest(struct comedi_device *dev, ...@@ -815,9 +815,8 @@ static int rtd_ai_cmdtest(struct comedi_device *dev,
if (cmd->scan_begin_src == TRIG_TIMER) { if (cmd->scan_begin_src == TRIG_TIMER) {
arg = cmd->convert_arg * cmd->scan_end_arg; arg = cmd->convert_arg * cmd->scan_end_arg;
err |= comedi_check_trigger_arg_min(&cmd-> err |= comedi_check_trigger_arg_min(
scan_begin_arg, &cmd->scan_begin_arg, arg);
arg);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment