Skip to contentSkip to conversation

staging: xgifb:Block comments edited.

PATCH In review Burcin Akalin 3 participants 3 messages Oct 26, 2015 – Oct 27, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: xgifb:Block comments edited.

Alignment of block comments should be correct.Fix checkpatch.pl
WARNING: Block comments use a trailing */ on a separate line

---
 drivers/staging/xgifb/vb_setmode.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/staging/xgifb/vb_setmode.c +4 -2
index c886dd2..f519fd2 100644
@@ -1997,8 +1997,10 @@ static void XGI_GetVBInfo(unsigned short ModeIdIndex,
 				tempbx |= (SetInSlaveMode | SetSimuScanMode);
 		}
 
-		/* LCD+TV can't support in slave mode
-		 * (Force LCDA+TV->LCDB) */
+		/* 
+		 * LCD+TV can't support in slave mode
+		 * (Force LCDA+TV->LCDB) 
+	         */
 		if ((tempbx & SetInSlaveMode) && (tempbx & XGI_SetCRT2ToLCDA)) {
 			tempbx ^= (SetCRT2ToLCD | XGI_SetCRT2ToLCDA |
 				   SetCRT2ToDualEdge);
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 14 lines · Burcin Akalin

Alignment of block comments should be correct.Fix checkpatch.pl
WARNING: Block comments use a trailing */ on a separate line

---
 drivers/staging/xgifb/vb_setmode.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/staging/xgifb/vb_setmode.c +0 -0
index c886dd2..f519fd2 100644

drivers/staging/xgifb/vb_setmode.c static void XGI_GetVBInfo(unsigned short ModeIdIndex, · line 2002

Quoted 8 lines
drivers/staging/xgifb/vb_setmode.c +3 -2
@@ -1997,8 +1997,10 @@ static void XGI_GetVBInfo(unsigned short ModeIdIndex,
 				tempbx |= (SetInSlaveMode | SetSimuScanMode);
 		}
 
-		/* LCD+TV can't support in slave mode
-		 * (Force LCDA+TV->LCDB) */
+		/* 
+		 * LCD+TV can't support in slave mode
+		 * (Force LCDA+TV->LCDB) 

Trailing whitespace :(

Always check your patches with checkpatch.pl before you send them out.

thanks,

greg k-h

#2 lore raw
In reply to Burcin Akalin
Quoted 14 lines · Burcin Akalin

Alignment of block comments should be correct.Fix checkpatch.pl
WARNING: Block comments use a trailing */ on a separate line

---
 drivers/staging/xgifb/vb_setmode.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/staging/xgifb/vb_setmode.c +0 -0
index c886dd2..f519fd2 100644

drivers/staging/xgifb/vb_setmode.c static void XGI_GetVBInfo(unsigned short ModeIdIndex, · line 2000

Quoted 6 lines
drivers/staging/xgifb/vb_setmode.c +1 -2
@@ -1997,8 +1997,10 @@ static void XGI_GetVBInfo(unsigned short ModeIdIndex,
 				tempbx |= (SetInSlaveMode | SetSimuScanMode);
 		}
 
-		/* LCD+TV can't support in slave mode
-		 * (Force LCDA+TV->LCDB) */
+		/* 

Trailing whitespace

drivers/staging/xgifb/vb_setmode.c static void XGI_GetVBInfo(unsigned short ModeIdIndex, · line 2002

Quoted 2 lines
drivers/staging/xgifb/vb_setmode.c +2 -0
+		 * LCD+TV can't support in slave mode
+		 * (Force LCDA+TV->LCDB) 

and also here.

regards
sudip