[PATCH] Staging: dgnc: fix line should not end with a paranthesis in dgnc_tty.c

Yash Omer yashomer0007 at gmail.com
Thu Feb 15 05:35:08 UTC 2018


This is a patch to the dgnc_tty.c file that fixes up a paranthesis  warning found by the checkpatch.pl tool.

Signed-off-by: Yash Omer <yashomer0007 at gmail.com>
---
 drivers/staging/dgnc/dgnc_tty.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c
index 9f9b9a5b4b27..ef6aedadeda3 100644
--- a/drivers/staging/dgnc/dgnc_tty.c
+++ b/drivers/staging/dgnc/dgnc_tty.c
@@ -883,8 +883,8 @@ static int dgnc_tty_open(struct tty_struct *tty, struct file *file)
 	 * touched safely, the close routine will signal the
 	 * ch_flags_wait to wake us back up.
 	 */
-	rc = wait_event_interruptible(
-				ch->ch_flags_wait,
+	rc = wait_event_interruptible
+				(ch->ch_flags_wait,
 				(((ch->ch_tun.un_flags |
 				ch->ch_pun.un_flags) & UN_CLOSING) == 0));
 	/* If ret is non-zero, user ctrl-c'ed us */
-- 
2.14.3



More information about the devel mailing list