From: Deepak R Varma Date: Sat, 14 Mar 2020 21:41:57 +0000 (+0530) Subject: staging: comedi: rtd520: Resolve multiline dereference X-Git-Tag: Ubuntu-5.13.0-19.19~6419^2~137 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=df42b8f49340c124a573dd024afce36aba5562a7;p=mirror_ubuntu-jammy-kernel.git 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: Deepak R Varma Link: https://lore.kernel.org/r/20200314214154.GA3904@deeUbuntu Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/rtd520.c b/drivers/staging/comedi/drivers/rtd520.c index bb400e08f0bc..8c04af09be2c 100644 --- a/drivers/staging/comedi/drivers/rtd520.c +++ b/drivers/staging/comedi/drivers/rtd520.c @@ -815,9 +815,8 @@ static int rtd_ai_cmdtest(struct comedi_device *dev, if (cmd->scan_begin_src == TRIG_TIMER) { arg = cmd->convert_arg * cmd->scan_end_arg; - err |= comedi_check_trigger_arg_min(&cmd-> - scan_begin_arg, - arg); + err |= comedi_check_trigger_arg_min( + &cmd->scan_begin_arg, arg); } }