[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPMnawvndQUGj4ohrTCPrwcvZdS-3FrHGsNeN4N7OJ_YGK-QfQ@mail.gmail.com>
Date: Thu, 30 Aug 2018 13:32:12 -0400
From: Ray Clinton <mr.ray.clinton@...il.com>
To: greg@...ah.com
Cc: abbotti@....co.uk, hsweeten@...ionengravers.com,
linux-kernel@...r.kernel.org
Subject: [PATCH 1/4] staging: comedi: Correct multiline dereference as per TODO
Using checkpatch.pl I was able to find a multiline dereference which goes
again the coding style for the kernel. I'm still working on my email client so
the indentation looks bad here (in gmail) but the arguments for
comedi_check_trigger_arg_min should go just under the opening (
Signed-off-by: Ray Clinton <mr.ray.clinton@...il.com>
---
drivers/staging/comedi/drivers/dt3000.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/comedi/drivers/dt3000.c
b/drivers/staging/comedi/drivers/dt3000.c
index 2edf3ee..6bc5c86 100644
--- a/drivers/staging/comedi/drivers/dt3000.c
+++ b/drivers/staging/comedi/drivers/dt3000.c
@@ -439,9 +439,9 @@ static int dt3k_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);
}
}
--
2.7.4
Powered by blists - more mailing lists