* [PATCH 4/6] Staging: rtl8712: wifi.h: Coding style warning fix for block comment
@ 2015-09-24 19:04 Punit Vara
0 siblings, 0 replies; only message in thread
From: Punit Vara @ 2015-09-24 19:04 UTC (permalink / raw)
To: Larry.Finger
Cc: florian.c.schilhabel, gregkh, devel, linux-kernel, Punit Vara
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@gmail.com>
---
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-09-24 19:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-24 19:04 [PATCH 4/6] Staging: rtl8712: wifi.h: Coding style warning fix for block comment Punit Vara
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome