All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] staging: rtd520.c: Fix new line after dereference operator
@ 2018-02-16 22:16 Ishita Tripathi
  2018-02-16 23:01 ` [Outreachy kernel] " Gargi Sharma
  2018-02-17  7:31 ` Julia Lawall
  0 siblings, 2 replies; 4+ messages in thread
From: Ishita Tripathi @ 2018-02-16 22:16 UTC (permalink / raw)
  To: Greg Kroah-Hartman, H Hartley Sweeten, Ian Abbott; +Cc: outreachy-kernel

Delete new line after the dereference operator (->).
According to https://kernelnewbies.org/CheckpatchTips, it is better to
have longer lines than break at this operator.

Signed-off-by: Ishita Tripathi <sakurakhadag@gmail.com>
---
 drivers/staging/comedi/drivers/rtd520.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/comedi/drivers/rtd520.c b/drivers/staging/comedi/drivers/rtd520.c
index bb400e0..47b7093 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);
 		}
 	}
 
-- 
changes in v2:
-changed subject line
-improved description
2.7.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-02-19 10:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-16 22:16 [PATCH v2] staging: rtd520.c: Fix new line after dereference operator Ishita Tripathi
2018-02-16 23:01 ` [Outreachy kernel] " Gargi Sharma
2018-02-17  7:31 ` Julia Lawall
2018-02-19 10:24   ` Ian Abbott

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.