All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging:dgnc: Fixed checkpatch warning
@ 2015-09-29 21:36 Cristina Moraru
  2015-09-30  2:02 ` [Outreachy kernel] " Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Cristina Moraru @ 2015-09-29 21:36 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: Cristina Moraru

Fixed 'suspect code indent for conditional statements (8, 24)' Warning

Signed-off-by: Cristina Moraru <cristina.moraru09@gmail.com>
---
 drivers/staging/dgnc/dgnc_cls.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/dgnc/dgnc_cls.c b/drivers/staging/dgnc/dgnc_cls.c
index a629a78..a2cfe35 100644
--- a/drivers/staging/dgnc/dgnc_cls.c
+++ b/drivers/staging/dgnc/dgnc_cls.c
@@ -632,9 +632,10 @@ static void cls_param(struct tty_struct *tty)
 		(ch->ch_c_cflag & CRTSCTS) ||
 		!(ch->ch_digi.digi_flags & DIGI_FORCEDCD) ||
 		!(ch->ch_c_cflag & CLOCAL))
-			ier |= UART_IER_MSI;
+
+		ier |= UART_IER_MSI;
 	else
-			ier &= ~UART_IER_MSI;
+		ier &= ~UART_IER_MSI;
 
 	ier |= UART_IER_THRI;
 
-- 
1.9.1



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

end of thread, other threads:[~2015-09-30  2:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-29 21:36 [PATCH] staging:dgnc: Fixed checkpatch warning Cristina Moraru
2015-09-30  2:02 ` [Outreachy kernel] " Greg KH

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.