Re: [PATCH] staging: comedi: cb_pcidas64 fixed '(' coding style issue
From: Dan Carpenter
Date: Sat Aug 25 2018 - 03:15:49 EST
On Sat, Aug 25, 2018 at 02:07:01AM +0300, GuyLuz wrote:
> From: Guy Luz <guyluz50@xxxxxxxxx>
>
> Fixed a Lines should not end with a '(' issue.
>
> Signed-off-by: Guy Luz <guyluz50@xxxxxxxxx>
> ---
> drivers/staging/comedi/drivers/cb_pcidas64.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/staging/comedi/drivers/cb_pcidas64.c b/drivers/staging/comedi/drivers/cb_pcidas64.c
> index 63992c0babf7..a85334f53ff9 100644
> --- a/drivers/staging/comedi/drivers/cb_pcidas64.c
> +++ b/drivers/staging/comedi/drivers/cb_pcidas64.c
> @@ -2173,10 +2173,9 @@ static int ai_cmdtest(struct comedi_device *dev, struct comedi_subdevice *s,
> * allows
> */
> if (cmd->scan_begin_src == TRIG_TIMER) {
> - err |= comedi_check_trigger_arg_min(
> - &cmd->scan_begin_arg,
> - cmd->convert_arg *
> - cmd->chanlist_len);
> + err |= comedi_check_trigger_arg_min
> + (&cmd->scan_begin_arg, cmd->convert_arg *
> + cmd->chanlist_len);
The original is better than the new version. Please leave it as is.
regards,
dan carpenter