Skip to contentSkip to conversation

Staging: nvec: Add space around '<<'

PATCH In review Dilek Uzulmez 2 participants 2 messages Feb 19, 2016 – Feb 20, 2016

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

PATCH 1/1 Staging: nvec: Add space around '<<'

Add space around operator '<<'.Problem found using checkpatch.pl

---
 drivers/staging/nvec/nvec.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
drivers/staging/nvec/nvec.c +9 -9
index 164634d..aab1c85 100644
@@ -40,18 +40,18 @@
 #include "nvec.h"
 
 #define I2C_CNFG			0x00
-#define I2C_CNFG_PACKET_MODE_EN		(1<<10)
-#define I2C_CNFG_NEW_MASTER_SFM		(1<<11)
+#define I2C_CNFG_PACKET_MODE_EN		(1 << 10)
+#define I2C_CNFG_NEW_MASTER_SFM		(1 << 11)
 #define I2C_CNFG_DEBOUNCE_CNT_SHIFT	12
 
 #define I2C_SL_CNFG		0x20
-#define I2C_SL_NEWSL		(1<<2)
-#define I2C_SL_NACK		(1<<1)
-#define I2C_SL_RESP		(1<<0)
-#define I2C_SL_IRQ		(1<<3)
-#define END_TRANS		(1<<4)
-#define RCVD			(1<<2)
-#define RNW			(1<<1)
+#define I2C_SL_NEWSL		(1 << 2)
+#define I2C_SL_NACK		(1 << 1)
+#define I2C_SL_RESP		(1 << 0)
+#define I2C_SL_IRQ		(1 << 3)
+#define END_TRANS		(1 << 4)
+#define RCVD			(1 << 2)
+#define RNW			(1 << 1)
 
 #define I2C_SL_RCVD		0x24
 #define I2C_SL_STATUS		0x28
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 6 lines · Dilek Uzulmez

Add space around operator '<<'.Problem found using checkpatch.pl

---
 drivers/staging/nvec/nvec.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

This patch doesn't apply to my tree, are you sure you are using the correct branch?

thanks,

greg k-h