Skip to contentSkip to conversation

staging: media: lirc: lirc_imon: Add space around the operators

PATCH In review Anchal Jain 2 participants 2 messages Sep 13, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 5/6 staging: media: lirc: lirc_imon: Add space around the operators

CHECK: Add space around the operators { "<<", "*"}.

---
changes in v2:
-add cc

 drivers/staging/media/lirc/lirc_imon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/lirc/lirc_imon.c +1 -1
index e44f841..ee12da2 100644
@@ -561,7 +561,7 @@ static void submit_data(struct imon_context *context)
 		value |= PULSE_BIT;
 
 	for (i = 0; i < 4; ++i)
-		buf[i] = value>>(i*8);
+		buf[i] = value >> (i * 8);
 
 	lirc_buffer_write(context->driver->rbuf, buf);
 	wake_up(&context->driver->rbuf->wait_poll);
Signature · 1 line
1.9.1
Acked-by on v2 5/6
#1 lore raw
Quoted 3 lines · Anchal Jain

CHECK: Add space around the operators { "<<", "*"}.

This looks better.

Quoted 29 lines

---
changes in v2:
-add cc

 drivers/staging/media/lirc/lirc_imon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/lirc/lirc_imon.c +1 -2
index e44f841..ee12da2 100644
@@ -561,7 +561,7 @@ static void submit_data(struct imon_context *context)
 		value |= PULSE_BIT;
 
 	for (i = 0; i < 4; ++i)
-		buf[i] = value>>(i*8);
+		buf[i] = value >> (i * 8);
 
 	lirc_buffer_write(context->driver->rbuf, buf);
 	wake_up(&context->driver->rbuf->wait_poll);
--

1.9.1

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20160913111752.GA10774%40life-desktop.
For more options, visit https://groups.google.com/d/optout.