Skip to contentSkip to conversation

staging: sm750fb: no spaces before tabs

PATCH In review Gokce Kuler 2 participants 2 messages Mar 26, 2020 – Mar 27, 2020

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

PATCH 1/1 staging: sm750fb: no spaces before tabs

Add a space to follow the Linux kernel coding conventions.

---
 drivers/staging/sm750fb/sm750_cursor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/sm750fb/sm750_cursor.c +1 -1
index b67c545..94e9dd8c 100644
@@ -117,7 +117,7 @@ void sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop,
 
 				/* 2 stands for forecolor and 1 for backcolor */
 				data |= ((opr & (0x80 >> j)) ? 2 : 1) <<
-				       	(j * 2);
+				       	 (j * 2);
 			}
 		}
 		iowrite16(data, pbuffer);
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 12 lines · Gokce Kuler

Add a space to follow the Linux kernel coding conventions.

---
 drivers/staging/sm750fb/sm750_cursor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/sm750fb/sm750_cursor.c +0 -0
index b67c545..94e9dd8c 100644

drivers/staging/sm750fb/sm750_cursor.c void sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop, · line 120

Quoted 5 lines
drivers/staging/sm750fb/sm750_cursor.c +1 -1
@@ -117,7 +117,7 @@ void sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop,
 
 				/* 2 stands for forecolor and 1 for backcolor */
 				data |= ((opr & (0x80 >> j)) ? 2 : 1) <<
-				       	(j * 2);
+				       	 (j * 2);

The original is correct here, why is checkpatch complaining?

thanks,

greg k-h