lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun, 13 Nov 2016 23:54:08 -0500
From:   Walt Feasel <waltfeasel@...il.com>
To:     arnaud.patard@...-net.org
Cc:     gregkh@...uxfoundation.org, devel@...verdev.osuosl.org,
        linux-kernel@...r.kernel.org, Walt Feasel <waltfeasel@...il.com>
Subject: [PATCH] [STYLE 13/20]staging:xgifb:vb_setmode.c Align match parenthesis

Make suggested modification from checkpatch in reference
to CHECK: Alignment should match open parenthesis

Signed-off-by: Walt Feasel <waltfeasel@...il.com>
---
 drivers/staging/xgifb/vb_setmode.c | 28 ++++++++++++----------------
 1 file changed, 12 insertions(+), 16 deletions(-)

diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/vb_setmode.c
index 284628c..5d1d478 100644
--- a/drivers/staging/xgifb/vb_setmode.c
+++ b/drivers/staging/xgifb/vb_setmode.c
@@ -1482,15 +1482,15 @@ static void XGI_SetLVDSRegs(unsigned short ModeIdIndex,
 		tempcx -= tempax;
 
 	xgifb_reg_set(pVBInfo->Part1Port, 0x1b,
-			(unsigned short)(tempbx & 0xff));
+		      (unsigned short)(tempbx & 0xff));
 	xgifb_reg_set(pVBInfo->Part1Port, 0x1c,
-			(unsigned short)(tempcx & 0xff));
+		      (unsigned short)(tempcx & 0xff));
 
 	tempbx = (tempbx >> 8) & 0x07;
 	tempcx = (tempcx >> 8) & 0x07;
 
 	xgifb_reg_set(pVBInfo->Part1Port, 0x1d,
-			(unsigned short)((tempcx << 3)
+		      (unsigned short)((tempcx << 3)
 					| tempbx));
 
 	tempax = pVBInfo->VT;
@@ -1506,9 +1506,9 @@ static void XGI_SetLVDSRegs(unsigned short ModeIdIndex,
 		tempcx -= tempax;
 
 	xgifb_reg_set(pVBInfo->Part1Port, 0x18,
-			(unsigned short)(tempbx & 0xff));
+		      (unsigned short)(tempbx & 0xff));
 	xgifb_reg_and_or(pVBInfo->Part1Port, 0x19, ~0x0f,
-			(unsigned short)(tempcx & 0x0f));
+			 (unsigned short)(tempcx & 0x0f));
 
 	tempax = ((tempbx >> 8) & 0x07) << 3;
 
@@ -1519,8 +1519,7 @@ static void XGI_SetLVDSRegs(unsigned short ModeIdIndex,
 	if (pVBInfo->LCDInfo & XGI_EnableLVDSDDA)
 		tempax |= 0x40;
 
-	xgifb_reg_and_or(pVBInfo->Part1Port, 0x1a, 0x07,
-				tempax);
+	xgifb_reg_and_or(pVBInfo->Part1Port, 0x1a, 0x07, tempax);
 
 	tempbx = pVBInfo->VDE;
 	tempax = pVBInfo->VGAVDE;
@@ -1537,9 +1536,9 @@ static void XGI_SetLVDSRegs(unsigned short ModeIdIndex,
 	push3 = temp2;
 
 	xgifb_reg_set(pVBInfo->Part1Port, 0x37,
-			(unsigned short)(temp2 & 0xff));
+		      (unsigned short)(temp2 & 0xff));
 	xgifb_reg_set(pVBInfo->Part1Port, 0x36,
-			(unsigned short)((temp2 >> 8) & 0xff));
+		      (unsigned short)((temp2 >> 8) & 0xff));
 
 	tempbx = (unsigned short)(temp2 >> 16);
 	tempax = tempbx & 0x03;
@@ -1561,17 +1560,14 @@ static void XGI_SetLVDSRegs(unsigned short ModeIdIndex,
 			      0xff));
 		tempbx = (unsigned short)(temp2 >> 16);
 		xgifb_reg_and_or(pVBInfo->Part4Port, 0x3a,
-				~0xc0,
-				(unsigned short)((tempbx &
-						   0xff) << 6));
+				 ~0xc0,	(unsigned short)((tempbx &
+				 0xff) << 6));
 
 		tempcx = pVBInfo->VGAVDE;
 		if (tempcx == pVBInfo->VDE)
-			xgifb_reg_and_or(pVBInfo->Part4Port,
-					0x30, ~0x0c, 0x00);
+			xgifb_reg_and_or(pVBInfo->Part4Port, 0x30, ~0x0c, 0x00);
 		else
-			xgifb_reg_and_or(pVBInfo->Part4Port,
-					0x30, ~0x0c, 0x08);
+			xgifb_reg_and_or(pVBInfo->Part4Port, 0x30, ~0x0c, 0x08);
 	}
 
 	tempcx = pVBInfo->VGAHDE;
-- 
2.1.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ