]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: dgnc: dgnc_tty.c Space preferred around
authorWalt Feasel <waltfeasel@gmail.com>
Sat, 19 Nov 2016 16:45:39 +0000 (11:45 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Nov 2016 10:10:55 +0000 (11:10 +0100)
Make suggested checkpatch modification for
CHECK: spaces preferred around that '|'

Signed-off-by: Walt Feasel <waltfeasel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_tty.c

index 8dc7c62f4f2fe0ce6cb3850c702d0df8eb639cd2..52be33f21fbf6ed75c85f4694c5781698271f2f8 100644 (file)
@@ -2580,7 +2580,7 @@ static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd,
                                        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);
                                        wake_up_interruptible(&ch->ch_pun.un_flags_wait);