drivers/staging/dgnc: Added spaces around a bitwise OR.
authorJuanma de Hoyos <juanmahv@gmail.com>
Sun, 3 Apr 2016 20:01:36 +0000 (22:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 00:46:00 +0000 (17:46 -0700)
Coding rules request placing bitwise OR operators between empty spaces
for better readibility. This patch applies this format to a line in
dgnc_tty.c file.

Signed-off-by: Juanma de Hoyos <juanmahv@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_tty.c

index 074988d..5832190 100644 (file)
@@ -2691,7 +2691,7 @@ static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd,
                                ch->ch_w_head = ch->ch_w_tail;
                                ch_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);
                                        wake_up_interruptible(&ch->ch_tun.un_flags_wait);