staging: xgifb:Block comments edited.
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
@@ -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
Greg KH
maintainerQuoted 14 lines · Burcin Akalin
Alignment of block comments should be correct.Fix checkpatch.pl
WARNING: Block comments use a trailing */ on a separate lineSigned-off-by Burcin Akalin <[email protected]>--- drivers/staging/xgifb/vb_setmode.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)drivers/staging/xgifb/vb_setmode.c +0
-0
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
Quoted 14 lines · Burcin Akalin
Alignment of block comments should be correct.Fix checkpatch.pl
WARNING: Block comments use a trailing */ on a separate lineSigned-off-by Burcin Akalin <[email protected]>--- drivers/staging/xgifb/vb_setmode.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)drivers/staging/xgifb/vb_setmode.c +0
-0
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