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


Groups > linux.kernel > #1231589 > unrolled thread

[PATCH] Staging: rtl8712: rtl8712_recv.h: Coding style warnings fix for block comments

Started byPunit Vara <punitvara@gmail.com>
First post2015-09-23 19:30 +0200
Last post2015-09-23 19:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] Staging: rtl8712: rtl8712_recv.h: Coding style warnings fix for block comments Punit Vara <punitvara@gmail.com> - 2015-09-23 19:30 +0200

#1231589 — [PATCH] Staging: rtl8712: rtl8712_recv.h: Coding style warnings fix for block comments

FromPunit Vara <punitvara@gmail.com>
Date2015-09-23 19:30 +0200
Subject[PATCH] Staging: rtl8712: rtl8712_recv.h: Coding style warnings fix for block comments
Message-ID<qbW1J-2ph-25@gated-at.bofh.it>
This patch is to the rtl8712_recv.h that fixes up following warnings
generated by checkpatch.pl :

-Block comments use * on subsequent lines
-Block comments use a trailing */ on a separate line

Signed-off-by: Punit Vara <punitvara@gmail.com>
---
 drivers/staging/rtl8712/rtl8712_recv.h | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/drivers/staging/rtl8712/rtl8712_recv.h b/drivers/staging/rtl8712/rtl8712_recv.h
index fd9e3fc..9943f8d 100644
--- a/drivers/staging/rtl8712/rtl8712_recv.h
+++ b/drivers/staging/rtl8712/rtl8712_recv.h
@@ -59,9 +59,11 @@ struct recv_stat {
 };
 
 struct phy_cck_rx_status {
-	/* For CCK rate descriptor. This is a unsigned 8:1 variable.
+	/*
+	 * For CCK rate descriptor. This is a unsigned 8:1 variable.
 	 * LSB bit present 0.5. And MSB 7 bts present a signed value.
-	 * Range from -64~+63.5. */
+	 * Range from -64~+63.5.
+	 */
 	u8	adc_pwdb_X[4];
 	u8	sq_rpt;
 	u8	cck_agc_rpt;
@@ -116,13 +118,13 @@ struct recv_buf {
 };
 
 /*
-	head  ----->
-		data  ----->
-			payload
-		tail  ----->
-	end   ----->
-	len = (unsigned int )(tail - data);
-*/
+ *	head  ----->
+ *		data  ----->
+ *			payload
+ *		tail  ----->
+ *	end   ----->
+ *	len = (unsigned int )(tail - data);
+ */
 struct recv_frame_hdr {
 	struct list_head list;
 	_pkt	*pkt;
-- 
2.5.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web