Skip to contentSkip to conversation

Staging: xgifb: fix lines should not end with open parenthesis in vb_setmode.c

PATCH In review Yash Omer 2 participants 2 messages Feb 16, 2018 – Feb 19, 2018 Staging

lore
Share & tools
lore

Yash Omer

author
#0 lore raw

PATCH 1/1 Staging: xgifb: fix lines should not end with open parenthesis in vb_setmode.c

This patch fixes up line should not end with open parenthesis found by checkpatch.pl script.

---
 drivers/staging/xgifb/vb_setmode.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/xgifb/vb_setmode.c +2 -2
index 1fa0dc66406e..1d6ac724fd61 100644
@@ -1228,8 +1228,8 @@ static void const *XGI_GetLcdPtr(struct XGI330_LCDDataTablStruct const *table,
 	return table[i].DATAPTR;
 }
 
-static struct SiS_TVData const *XGI_GetTVPtr(
-	unsigned short ModeIdIndex,
+static struct SiS_TVData const *XGI_GetTVPtr
+(unsigned short ModeIdIndex,
 	unsigned short RefreshRateTableIndex,
 	struct vb_device_info *pVBInfo)
 {
Signature · 1 line
2.14.3
maintainer
#1 lore raw
Quoted 12 lines · Yash Omer

This patch fixes up line should not end with open parenthesis found by checkpatch.pl script.

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

drivers/staging/xgifb/vb_setmode.c static void const *XGI_GetLcdPtr(struct XGI330_LCDDataTablStruct const *table, · line 1232

Quoted 7 lines
drivers/staging/xgifb/vb_setmode.c +2 -2
@@ -1228,8 +1228,8 @@ static void const *XGI_GetLcdPtr(struct XGI330_LCDDataTablStruct const *table,
 	return table[i].DATAPTR;
 }
 
-static struct SiS_TVData const *XGI_GetTVPtr(
-	unsigned short ModeIdIndex,
+static struct SiS_TVData const *XGI_GetTVPtr
+(unsigned short ModeIdIndex,

Ick, that's horrid looking now, don't you think?

Please don't change things to make them look worse :)

greg k-h
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel