public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] Staging: xgifb:XGI_main_26: Added braces to the 'if' statement
@ 2017-02-22 18:23 Georgios Emmanouil
  2017-02-22 18:26 ` [PATCH 2/2] Staging: xgifb:XGI_main_26: Added braces to the conditional statement Georgios Emmanouil
  2017-02-24 16:31 ` [PATCH 1/2] Staging: xgifb:XGI_main_26: Added braces to the 'if' statement Greg KH
  0 siblings, 2 replies; 4+ messages in thread
From: Georgios Emmanouil @ 2017-02-22 18:23 UTC (permalink / raw)
  To: arnaud.patard, gregkh, waltfeasel, karniksayli1995,
	clifton.a.barnes, shiva
  Cc: devel, linux-kernel, trivial

Coding style issue. Added brances to the 'if' statement.

Signed-off-by: Georgios Emmanouil <geo.emmnl@gmail.com>
---
 drivers/staging/xgifb/XGI_main_26.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c
index 6930f7e..c4fdc1c 100644
--- a/drivers/staging/xgifb/XGI_main_26.c
+++ b/drivers/staging/xgifb/XGI_main_26.c
@@ -1480,9 +1480,9 @@ static void XGIfb_detect_VB(struct xgifb_video_info *xgifb_info)

 	cr32 = xgifb_reg_get(XGICR, IND_XGI_SCRATCH_REG_CR32);

-	if ((cr32 & SIS_CRT1) && !XGIfb_crt1off)
+	if ((cr32 & SIS_CRT1) && !XGIfb_crt1off) {
 		XGIfb_crt1off = 0;
-	else {
+	} else {
 		if (cr32 & 0x5F)
 			XGIfb_crt1off = 1;
 		else
--
2.1.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-24 16:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-22 18:23 [PATCH 1/2] Staging: xgifb:XGI_main_26: Added braces to the 'if' statement Georgios Emmanouil
2017-02-22 18:26 ` [PATCH 2/2] Staging: xgifb:XGI_main_26: Added braces to the conditional statement Georgios Emmanouil
2017-02-24 16:31   ` Greg KH
2017-02-24 16:31 ` [PATCH 1/2] Staging: xgifb:XGI_main_26: Added braces to the 'if' statement Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox