Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1524050

[PATCH v2 1/3] staging: xgifb: vb_init.c Logical continuation

From Walt Feasel <waltfeasel@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v2 1/3] staging: xgifb: vb_init.c Logical continuation
Date 2016-11-17 04:10 +0100
Message-ID <sElfk-3lP-17@gated-at.bofh.it> (permalink)
References <sElfj-3lP-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Make suggested checkpatch modification for:
CHECK: Logical continuations should be on the previous line.

Signed-off-by: Walt Feasel <waltfeasel@gmail.com>
---
v2 makes changes to correct for email format patch submission

 drivers/staging/xgifb/vb_init.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/xgifb/vb_init.c b/drivers/staging/xgifb/vb_init.c
index 062ece2..55978c1 100644
--- a/drivers/staging/xgifb/vb_init.c
+++ b/drivers/staging/xgifb/vb_init.c
@@ -1039,8 +1039,9 @@ static void XGINew_SetModeScratch(struct vb_device_info *pVBInfo)
 	}
 
 	tempcl |= SetSimuScanMode;
-	if ((!(temp & ActiveCRT1)) && ((temp & ActiveLCD) || (temp & ActiveTV)
-			|| (temp & ActiveCRT2)))
+	if ((!(temp & ActiveCRT1)) && ((temp & ActiveLCD) ||
+				       (temp & ActiveTV) ||
+				       (temp & ActiveCRT2)))
 		tempcl ^= (SetSimuScanMode | SwitchCRT2);
 	if ((temp & ActiveLCD) && (temp & ActiveTV))
 		tempcl ^= (SetSimuScanMode | SwitchCRT2);
-- 
2.1.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/3] staging: xgifb: vb_init.c checkpatch modifications Walt Feasel <waltfeasel@gmail.com> - 2016-11-17 04:10 +0100
  [PATCH v2 1/3] staging: xgifb: vb_init.c Logical continuation Walt Feasel <waltfeasel@gmail.com> - 2016-11-17 04:10 +0100
  [PATCH v2 2/3] staging: xgifb: vb_init.c Align on parenthesis Walt Feasel <waltfeasel@gmail.com> - 2016-11-17 04:10 +0100
  [PATCH v2 3/3] staging: xgifb: vb_init.c Comment style Walt Feasel <waltfeasel@gmail.com> - 2016-11-17 04:10 +0100

csiph-web