[PATCH 4/6] Staging: rtl8712: wifi.h: Coding style warning fix for block comment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch is to the  wifi.h file that fixes up following
warnings generated by checkpatch.pl tool :

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

Signed-off-by: Punit Vara <punitvara@xxxxxxxxx>
---
 drivers/staging/rtl8712/wifi.h | 35 ++++++++++++++++++++---------------
 1 file changed, 20 insertions(+), 15 deletions(-)

diff --git a/drivers/staging/rtl8712/wifi.h b/drivers/staging/rtl8712/wifi.h
index 17f5131..3cda26a 100644
--- a/drivers/staging/rtl8712/wifi.h
+++ b/drivers/staging/rtl8712/wifi.h
@@ -383,9 +383,10 @@ static inline unsigned char *get_hdr_bssid(unsigned char *pframe)
 
 
 
-/*-----------------------------------------------------------------------------
-			Below is for the security related definition
-------------------------------------------------------------------------------*/
+/* --------------------------------------------------------------------------
+ *			Below is for the security related definition
+ * --------------------------------------------------------------------------
+ */
 #define _RESERVED_FRAME_TYPE_	0
 #define _SKB_FRAME_TYPE_	2
 #define _PRE_ALLOCMEM_		1
@@ -427,9 +428,10 @@ static inline unsigned char *get_hdr_bssid(unsigned char *pframe)
 #define	_RESERVED47_		47
 
 
-/* ---------------------------------------------------------------------------
-					Below is the fixed elements...
------------------------------------------------------------------------------*/
+/* --------------------------------------------------------------------------
+ *					Below is the fixed elements...
+ * --------------------------------------------------------------------------
+ */
 #define _AUTH_ALGM_NUM_			2
 #define _AUTH_SEQ_NUM_			2
 #define _BEACON_ITERVAL_		2
@@ -455,22 +457,25 @@ static inline unsigned char *get_hdr_bssid(unsigned char *pframe)
 #define cap_Privacy BIT(4)
 #define cap_ShortPremble BIT(5)
 
-/*-----------------------------------------------------------------------------
-				Below is the definition for 802.11i / 802.1x
-------------------------------------------------------------------------------*/
+/* ---------------------------------------------------------------------------
+ *			Below is the definition for 802.11i / 802.1x
+ * ---------------------------------------------------------------------------
+ */
 #define _IEEE8021X_MGT_			1	/*WPA */
 #define _IEEE8021X_PSK_			2	/* WPA with pre-shared key */
 
-/*-----------------------------------------------------------------------------
-				Below is the definition for WMM
-------------------------------------------------------------------------------*/
+/* -------------------------------------------------------------------------
+ *				Below is the definition for WMM
+ * -------------------------------------------------------------------------
+ */
 #define _WMM_IE_Length_				7  /* for WMM STA */
 #define _WMM_Para_Element_Length_		24
 
 
-/*-----------------------------------------------------------------------------
-				Below is the definition for 802.11n
-------------------------------------------------------------------------------*/
+/* --------------------------------------------------------------------------
+ *				Below is the definition for 802.11n
+ * --------------------------------------------------------------------------
+ */
 
 /* block-ack parameters */
 #define IEEE80211_ADDBA_PARAM_POLICY_MASK 0x0002
-- 
2.5.2

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux