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


Groups > linux.kernel > #1315048

[PATCH] Staging: xgifb: vb_init.c: Coding style warning fix block comments

From YU Bo <tsu.yubo@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] Staging: xgifb: vb_init.c: Coding style warning fix block comments
Date 2016-01-22 15:50 +0100
Message-ID <qTLcf-5nI-23@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This patch is to vb_init.c file that fixes up following warnings
reported by checkpatch.pl:

WARNING: Block comments use a trailing */ on a separate line

Signed-off-by: YU BO <tsu.yubo@gmail.com>
---
   drivers/staging/xgifb/vb_init.c |    6 ++++--
   1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/xgifb/vb_init.c b/drivers/staging/xgifb/vb_init.c
index 879a7e6..360dc95 100644
--- a/drivers/staging/xgifb/vb_init.c
+++ b/drivers/staging/xgifb/vb_init.c
@@ -56,8 +56,10 @@ XGINew_GetXG20DRAMType(struct xgi_hw_device_info *HwDeviceExtension,
   		/* GPIOF 0:DVI 1:DVO */
   		data = xgifb_reg_get(pVBInfo->P3d4, 0x48);
   		/* HOTPLUG_SUPPORT */
-		/* for current XG20 & XG21, GPIOH is floating, driver will
-		 * fix DDR temporarily */
+		/*
+		 * for current XG20 & XG21, GPIOH is floating, driver will
+		 * fix DDR temporarily
+		 */
   		/* DVI read GPIOH */
   		data &= 0x01; /* 1=DDRII, 0=DDR */
   		/* ~HOTPLUG_SUPPORT */
--
1.7.10.4


--
Best Regards

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


Thread

[PATCH] Staging: xgifb: vb_init.c: Coding style warning fix block  comments YU Bo <tsu.yubo@gmail.com> - 2016-01-22 15:50 +0100

csiph-web