Staging: rtl8712: rtl871x_cmd.c: Coding style warnings fix for block comments
PATCH 1/1 Staging: rtl8712: rtl871x_cmd.c: Coding style warnings fix for block comments
This patch is to the rtl871x_cmd.c that fixes up following warnings reported by checkpatch.pl :
-Block comments use a trailing */ on a separate line -Block comments use * on subsequent lines
Signed-off-by Punit Vara <[email protected]>
--- drivers/staging/rtl8712/rtl871x_cmd.c | 38 ++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 18 deletions(-)
drivers/staging/rtl8712/rtl871x_cmd.c +20 -18
@@ -51,9 +51,9 @@#include "mlme_osdep.h" /* -Caller and the r8712_cmd_thread can protect cmd_q by spin_lock. -No irqsave is necessary. -*/ +* Caller and the r8712_cmd_thread can protect cmd_q by spin_lock. +* No irqsave is necessary. +*/ static sint _init_cmd_priv (struct cmd_priv *pcmdpriv) {
@@ -110,14 +110,14 @@ static void _free_cmd_priv(struct cmd_priv *pcmdpriv) }/* -Calling Context: - -_enqueue_cmd can only be called between kernel thread, -since only spin_lock is used. - -ISR/Call-Back functions can't call this sub-function. - -*/ +* Calling Context: +* +* _enqueue_cmd can only be called between kernel thread, +* since only spin_lock is used. +* +* ISR/Call-Back functions can't call this sub-function. +* +*/ static sint _enqueue_cmd (struct __queue *queue,struct cmd_obj *obj) {
@@ -214,11 +214,11 @@ void r8712_free_cmd_obj(struct cmd_obj *pcmd) }/* -r8712_sitesurvey_cmd(~) -### NOTE:#### (!!!!) -MUST TAKE CARE THAT BEFORE CALLING THIS FUNC, -YOU SHOULD HAVE LOCKED pmlmepriv->lock -*/ +* r8712_sitesurvey_cmd(~) +* ### NOTE:#### (!!!!) +* MUST TAKE CARE THAT BEFORE CALLING THIS FUNC, +* YOU SHOULD HAVE LOCKED pmlmepriv->lock +*/ u8 r8712_sitesurvey_cmd (struct _adapter *padapter,struct ndis_802_11_ssid *pssid) {
@@ -953,8 +953,10 @@ void r8712_createbss_cmd_callback(struct _adapter *padapter, (r8712_get_wlan_bssid_ex_sz(pnetwork)));if (pmlmepriv->fw_state & _FW_UNDER_LINKING) pmlmepriv->fw_state ^= _FW_UNDER_LINKING; -/* we will set _FW_LINKED when there is one more sat to -* join us (stassoc_event_callback) */ +/* +* we will set _FW_LINKED when there is one more sat to +* join us (stassoc_event_callback) +*/ } createbss_cmd_fail:spin_unlock_irqrestore (&pmlmepriv->lock, irqL);
Signature · 1 line
2.5.2