Staging: rtl8712: wifi.h: Coding style warning fix for block comment
PATCH 4/6 Staging: rtl8712: wifi.h: Coding style warning fix for block comment
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 <[email protected]>
--- drivers/staging/rtl8712/wifi.h | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-)
drivers/staging/rtl8712/wifi.h +20 -15
@@ -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
Signature · 1 line
2.5.2