All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: dgnc: fixed spaces before and after "|" in dgnc_cls.c
@ 2016-03-13  1:32 Juliana Rodrigues
  2016-03-13  3:40 ` [Outreachy kernel] " Julia Lawall
  0 siblings, 1 reply; 4+ messages in thread
From: Juliana Rodrigues @ 2016-03-13  1:32 UTC (permalink / raw)
  To: outreachy-kernel

This patch fixes the following issue while maintains 80 characters per line:

CHECK: spaces preferred around that '|' (ctx:VxV)
+       writeb((UART_FCR_ENABLE_FIFO|UART_FCR_CLEAR_RCVR|UART_FCR_CLEAR_XMIT),

Signed-off-by: Juliana Rodrigues <juliana.orod@gmail.com>
---
 drivers/staging/dgnc/dgnc_cls.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/dgnc/dgnc_cls.c b/drivers/staging/dgnc/dgnc_cls.c
index 51db98b..6e1e475 100644
--- a/drivers/staging/dgnc/dgnc_cls.c
+++ b/drivers/staging/dgnc/dgnc_cls.c
@@ -1168,8 +1168,10 @@ static void cls_uart_init(struct channel_t *ch)
 	/* Clear out UART and FIFO */
 	readb(&ch->ch_cls_uart->txrx);
 
-	writeb((UART_FCR_ENABLE_FIFO|UART_FCR_CLEAR_RCVR|UART_FCR_CLEAR_XMIT),
-	       &ch->ch_cls_uart->isr_fcr);
+	writeb((UART_FCR_ENABLE_FIFO |
+		UART_FCR_CLEAR_RCVR  |
+		UART_FCR_CLEAR_XMIT),
+		&ch->ch_cls_uart->isr_fcr);
 	udelay(10);
 
 	ch->ch_flags |= (CH_FIFO_ENABLED | CH_TX_FIFO_EMPTY | CH_TX_FIFO_LWM);
-- 
2.7.2



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

end of thread, other threads:[~2016-03-13  4:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-13  1:32 [PATCH] staging: dgnc: fixed spaces before and after "|" in dgnc_cls.c Juliana Rodrigues
2016-03-13  3:40 ` [Outreachy kernel] " Julia Lawall
2016-03-13  4:11   ` Juliana Rodrigues
2016-03-13  4:13     ` Julia Lawall

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.