mirror of https://gitee.com/openkylin/linux.git
staging: dgnc: dgnc_tty.c: fix argument list alignment issue.
Fix checkpatch.pl issue of the form: "CHECK: Alignment should match open parenthesis". Signed-off-by: Nathan Howard <adanhawthorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e6b240bd3b
commit
b3fc909ad1
|
@ -971,9 +971,10 @@ 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)
|
||||
|
@ -1193,7 +1194,8 @@ static int dgnc_block_til_ready(struct tty_struct *tty,
|
|||
(old_flags != (ch->ch_tun.un_flags |
|
||||
ch->ch_pun.un_flags)));
|
||||
else
|
||||
retval = wait_event_interruptible(ch->ch_flags_wait,
|
||||
retval = wait_event_interruptible(
|
||||
ch->ch_flags_wait,
|
||||
(old_flags != ch->ch_flags));
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue