Commit 7bd43874 authored by Walt Feasel's avatar Walt Feasel Committed by Greg Kroah-Hartman
Browse files

staging: dgnc: dgnc_tty.c Align on parenthesis



Make suggested checkpatch modification for
CHECK: Alignment should match open parenthesis

Signed-off-by: default avatarWalt Feasel <waltfeasel@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent acca0c1f
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -1003,9 +1003,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,
		(((ch->ch_tun.un_flags | ch->ch_pun.un_flags) &
		  UN_CLOSING) == 0));
	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 */
	if (rc)
@@ -1228,8 +1227,8 @@ static int dgnc_block_til_ready(struct tty_struct *tty,
		 * from the current value.
		 */
		if (sleep_on_un_flags)
			retval = wait_event_interruptible(un->un_flags_wait,
				(old_flags != (ch->ch_tun.un_flags |
			retval = wait_event_interruptible
				(un->un_flags_wait, (old_flags != (ch->ch_tun.un_flags |
								   ch->ch_pun.un_flags)));
		else
			retval = wait_event_interruptible(ch->ch_flags_wait,