Skip to contentSkip to conversation

Staging: dgnc: Add space around '|'

PATCH New Dilek Uzulmez 1 participant 1 message Oct 8, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: dgnc: Add space around '|'

Add space around operator '|'. Problem found using checkpatch.pl
CHECK: spaces preferred around that '|' (ctx:VxV)

---
 drivers/staging/dgnc/dgnc_tty.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/dgnc/dgnc_tty.c +1 -1
index 953d931..9032135 100644
@@ -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);
Signature · 1 line
1.9.1