* [PATCH] Staging: dgnc: Add space around '|'
@ 2016-10-08 18:02 Dilek Uzulmez
0 siblings, 0 replies; only message in thread
From: Dilek Uzulmez @ 2016-10-08 18:02 UTC (permalink / raw)
To: outreachy-kernel; +Cc: Dilek Uzulmez
Add space around operator '|'. Problem found using checkpatch.pl
CHECK: spaces preferred around that '|' (ctx:VxV)
Signed-off-by: Dilek Uzulmez <dilekuzulmez@gmail.com>
---
drivers/staging/dgnc/dgnc_tty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c
index 953d931..9032135 100644
--- a/drivers/staging/dgnc/dgnc_tty.c
+++ b/drivers/staging/dgnc/dgnc_tty.c
@@ -2621,7 +2621,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);
--
1.9.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-10-08 18:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-08 18:02 [PATCH] Staging: dgnc: Add space around '|' Dilek Uzulmez
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.