staging: r8188eu: Block comments use * on subsequent lines
PATCH 1/1 staging: r8188eu: Block comments use * on subsequent lines
This patch modifies a comment in order for it to comply with Linux Kernel style guidelines on comments belonging to net/ or drivers/net/ by fixing the missing * at the beginning of each comment line and removing the initial almost-blank initial line from the comment block.
checkpatch output:
WARNING: Block comments use * on subsequent lines
--- drivers/staging/r8188eu/core/rtw_ap.c | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-)
drivers/staging/r8188eu/core/rtw_ap.c +11 -12
@@ -654,18 +654,17 @@ void update_beacon(struct adapter *padapter, u8 ie_id, u8 *oui, u8 tx)set_tx_beacon_cmd (padapter); } -/* -op_mode -Set to 0 (HT pure) under the following conditions -- all STAs in the BSS are 20/40 MHz HT in 20/40 MHz BSS or -- all STAs in the BSS are 20 MHz HT in 20 MHz BSS -Set to 1 (HT non-member protection) if there may be non-HT STAs -in both the primary and the secondary channel -Set to 2 if only HT STAs are associated in BSS, -however and at least one 20 MHz HT STA is associated -Set to 3 (HT mixed mode) when one or more non-HT STAs are associated -(currently non-GF HT station is considered as non-HT STA also) -*/ +/* op_mode +* Set to 0 (HT pure) under the following conditions +* - all STAs in the BSS are 20/40 MHz HT in 20/40 MHz BSS or +* - all STAs in the BSS are 20 MHz HT in 20 MHz BSS +* Set to 1 (HT non-member protection) if there may be non-HT STAs +* in both the primary and the secondary channel +* Set to 2 if only HT STAs are associated in BSS, +* however and at least one 20 MHz HT STA is associated +* Set to 3 (HT mixed mode) when one or more non-HT STAs are associated +* (currently non-GF HT station is considered as non-HT STA also) +*/ static int rtw_ht_operation_update (struct adapter *padapter) {u16 cur_op_mode, new_op_mode;
Signature · 1 line
2.30.2
Quoted 37 lines · Rommel Rodriguez Perez
This patch modifies a comment in order for it to comply with Linux Kernel style guidelines on comments belonging to
net/ordrivers/net/by fixing the missing * at the beginning of each comment line and removing the initial almost-blank initial line from the comment block.checkpatch output:
WARNING: Block comments use * on subsequent linesSigned-off-by Rommel Rodriguez Perez <[email protected]>--- drivers/staging/r8188eu/core/rtw_ap.c | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-)drivers/staging/r8188eu/core/rtw_ap.c +4
-12@@ -654,18 +654,17 @@ void update_beacon(struct adapter *padapter, u8 ie_id, u8 *oui, u8 tx)set_tx_beacon_cmd (padapter); } -/* -op_mode -Set to 0 (HT pure) under the following conditions -- all STAs in the BSS are 20/40 MHz HT in 20/40 MHz BSS or -- all STAs in the BSS are 20 MHz HT in 20 MHz BSS -Set to 1 (HT non-member protection) if there may be non-HT STAs -in both the primary and the secondary channel -Set to 2 if only HT STAs are associated in BSS, -however and at least one 20 MHz HT STA is associated -Set to 3 (HT mixed mode) when one or more non-HT STAs are associated -(currently non-GF HT station is considered as non-HT STA also) -*/ +/* op_mode +* Set to 0 (HT pure) under the following conditions +* - all STAs in the BSS are 20/40 MHz HT in 20/40 MHz BSS or +* - all STAs in the BSS are 20 MHz HT in 20 MHz BSS
drivers/staging/r8188eu/core/rtw_ap.c void update_beacon(struct adapter *padapter, u8 ie_id, u8 *oui, u8 tx) · line 670
Quoted 10 lines
drivers/staging/r8188eu/core/rtw_ap.c +7
-0+* Set to 1 (HT non-member protection) if there may be non-HT STAs +* in both the primary and the secondary channel +* Set to 2 if only HT STAs are associated in BSS, +* however and at least one 20 MHz HT STA is associated +* Set to 3 (HT mixed mode) when one or more non-HT STAs are associated +* (currently non-GF HT station is considered as non-HT STA also) +*/ static int rtw_ht_operation_update (struct adapter *padapter) {u16 cur_op_mode, new_op_mode;