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:
parent
fa4508ddc3
commit
e3f75db14d
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue