staging: comedi: fixed multiple line dereference

Fixed multiple line dereference for &cmd->scan_begin_arg.

Signed-off-by: Artur Lorincz <larturus@yahoo.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Artur Lorincz 2017-02-11 22:08:31 +01:00 committed by Greg Kroah-Hartman
parent fa4508ddc3
commit e3f75db14d
1 changed files with 2 additions and 3 deletions

View File

@ -1279,9 +1279,8 @@ static int pci9118_ai_cmdtest(struct comedi_device *dev,
} else {
arg = cmd->convert_arg * cmd->chanlist_len;
}
err |= comedi_check_trigger_arg_min(&cmd->
scan_begin_arg,
arg);
err |= comedi_check_trigger_arg_min(
&cmd->scan_begin_arg, arg);
}
}