Commit e3f75db1 authored by Artur Lorincz's avatar Artur Lorincz Committed by Greg Kroah-Hartman

staging: comedi: fixed multiple line dereference

Fixed multiple line dereference for &cmd->scan_begin_arg.
Signed-off-by: default avatarArtur Lorincz <larturus@yahoo.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fa4508dd
...@@ -1279,9 +1279,8 @@ static int pci9118_ai_cmdtest(struct comedi_device *dev, ...@@ -1279,9 +1279,8 @@ static int pci9118_ai_cmdtest(struct comedi_device *dev,
} else { } else {
arg = cmd->convert_arg * cmd->chanlist_len; arg = cmd->convert_arg * cmd->chanlist_len;
} }
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