[PATCH] Staging: rtl8712: os_intfs.c: Coding style warning fix for block comment

Punit Vara punitvara at gmail.com
Tue Sep 22 19:55:33 UTC 2015


This patch is to the os_intfs.c that fixes up warning
reported by checkpatch.pl :

-Block commens use a trailing */ on a separate line

Signed-off-by: Punit Vara <punitvara at gmail.com>
---
 drivers/staging/rtl8712/os_intfs.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8712/os_intfs.c b/drivers/staging/rtl8712/os_intfs.c
index 5d551a1..ebbcd9b0 100644
--- a/drivers/staging/rtl8712/os_intfs.c
+++ b/drivers/staging/rtl8712/os_intfs.c
@@ -365,8 +365,10 @@ static void enable_video_mode(struct _adapter *padapter, int cbw40_value)
 	u32  intcmd = 0xf4000500;   /* enable bit8, bit10*/
 
 	if (cbw40_value) {
-		/* if the driver supports the 40M bandwidth,
-		 * we can enable the bit 9.*/
+		/*
+		 * if the driver supports the 40M bandwidth,
+		 * we can enable the bit 9.
+		 */
 		intcmd |= 0x200;
 	}
 	r8712_fw_cmd(padapter, intcmd);
-- 
2.5.2



More information about the devel mailing list