Staging: dgnc: Add space around '|' operator.
PATCH 1/1 Staging: dgnc: Add space around '|' operator.
Add space around '|' operator.These issues are found by checkpatch.pl script.
Signed-off-by Sandhya Bankar <[email protected]>
--- drivers/staging/dgnc/dgnc_tty.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
drivers/staging/dgnc/dgnc_tty.c +8 -8
@@ -2524,12 +2524,12 @@ static void dgnc_tty_flush_buffer(struct tty_struct *tty)/* Flush UARTs transmit FIFO */ ch->ch_bd->bd_ops->flush_uart_write (ch); -if (ch->ch_tun.un_flags & (UN_LOW |UN_EMPTY )) { - ch->ch_tun.un_flags &= ~(UN_LOW |UN_EMPTY ); +if (ch->ch_tun.un_flags & (UN_LOW |UN_EMPTY )) { + ch->ch_tun.un_flags &= ~(UN_LOW |UN_EMPTY );wake_up_interruptible (&ch->ch_tun.un_flags_wait); } -if (ch->ch_pun.un_flags & (UN_LOW |UN_EMPTY )) { - ch->ch_pun.un_flags &= ~(UN_LOW |UN_EMPTY ); +if (ch->ch_pun.un_flags & (UN_LOW |UN_EMPTY )) { + ch->ch_pun.un_flags &= ~(UN_LOW |UN_EMPTY );wake_up_interruptible (&ch->ch_pun.un_flags_wait); }
@@ -2721,15 +2721,15 @@ static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd, ch->ch_w_head = ch->ch_w_tail; ch->ch_bd->bd_ops->flush_uart_write (ch); -if (ch->ch_tun.un_flags & (UN_LOW |UN_EMPTY )) { +if (ch->ch_tun.un_flags & (UN_LOW |UN_EMPTY )) { ch->ch_tun.un_flags &= - ~(UN_LOW |UN_EMPTY ); + ~(UN_LOW |UN_EMPTY );wake_up_interruptible (&ch->ch_tun.un_flags_wait); } -if (ch->ch_pun.un_flags & (UN_LOW |UN_EMPTY )) { +if (ch->ch_pun.un_flags & (UN_LOW |UN_EMPTY )) { ch->ch_pun.un_flags &= - ~(UN_LOW |UN_EMPTY ); + ~(UN_LOW |UN_EMPTY );wake_up_interruptible (&ch->ch_pun.un_flags_wait); } }
Signature · 1 line
1.8.3.4