drivers: staging: rtl8723au: core: Fix "'foo * bar' should be 'foo *bar'" errors
authorGreg Donald <gdonald@gmail.com>
Thu, 2 Oct 2014 23:28:41 +0000 (18:28 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:26 +0000 (10:29 +0800)
Fix checkpatch.pl "'foo * bar' should be 'foo *bar'" errors

Signed-off-by: Greg Donald <gdonald@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_ap.c
drivers/staging/rtl8723au/core/rtw_led.c
drivers/staging/rtl8723au/core/rtw_mlme.c
drivers/staging/rtl8723au/core/rtw_security.c
drivers/staging/rtl8723au/core/rtw_wlan_util.c

index eb5d60ca2397549f99c0e5426fc760977c5498de..aedbd8f77529eb43841595a91b20d800e8f933f7 100644 (file)
@@ -1816,7 +1816,7 @@ void rtw_ap_restore_network(struct rtw_adapter *padapter)
 {
        struct mlme_priv *mlmepriv = &padapter->mlmepriv;
        struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv;
-       struct sta_priv * pstapriv = &padapter->stapriv;
+       struct sta_priv *pstapriv = &padapter->stapriv;
        struct sta_info *psta;
        struct security_priv *psecuritypriv = &padapter->securitypriv;
        struct list_head *phead, *plist, *ptmp;
index 989cda29a57ead66aac79300c4db5437c1b11d8f..fa3dcff263d7f8caf32cfc778b7cc8a44e9af0cc 100644 (file)
@@ -51,7 +51,8 @@ void BlinkWorkItemCallback23a(struct work_struct *work)
 /*     Description: */
 /*             Reset status of led_8723a object. */
 /*  */
-void ResetLedStatus23a(struct led_8723a * pLed) {
+void ResetLedStatus23a(struct led_8723a *pLed)
+{
 
        pLed->CurrLedState = RTW_LED_OFF; /*  Current LED state. */
        pLed->bLedOn = false; /*  true if LED is ON, false if LED is OFF. */
index 1f6006439bbb40888b3fe72a967a9853411a42ee..00e7ad06b5bdaf636dbb74962824de09026e5f8c 100644 (file)
@@ -1766,7 +1766,7 @@ exit:
        return ret;
 }
 
-int rtw_set_auth23a(struct rtw_adapter * adapter,
+int rtw_set_auth23a(struct rtw_adapter *adapter,
                    struct security_priv *psecuritypriv)
 {
        struct cmd_obj *pcmd;
index 76371ae69377506812868d15bc673d39c97a9b74..b4886222fd5efc0f4f98f9ef250949f91a506c83 100644 (file)
@@ -30,12 +30,12 @@ struct arc4context
        u8 state[256];
 };
 
-static void arcfour_init(struct arc4context    *parc4ctx, u8 * key, u32        key_len)
+static void arcfour_init(struct arc4context *parc4ctx, u8 *key, u32 key_len)
 {
        u32     t, u;
        u32     keyindex;
        u32     stateindex;
-       u8 * state;
+       u8 *state;
        u32     counter;
 
        state = parc4ctx->state;
@@ -62,7 +62,7 @@ static u32 arcfour_byte(      struct arc4context      *parc4ctx)
        u32 x;
        u32 y;
        u32 sx, sy;
-       u8 * state;
+       u8 *state;
 
        state = parc4ctx->state;
        x = (parc4ctx->x + 1) & 0xff;
@@ -78,8 +78,8 @@ static u32 arcfour_byte(      struct arc4context      *parc4ctx)
 }
 
 static void arcfour_encrypt(   struct arc4context      *parc4ctx,
-       u8 * dest,
-       u8 * src,
+       u8 *dest,
+       u8 *src,
        u32 len)
 {
        u32     i;
@@ -221,7 +221,7 @@ void rtw_wep_decrypt23a(struct rtw_adapter *padapter,
        u8 keyindex;
        struct rx_pkt_attrib *prxattrib = &precvframe->attrib;
        struct security_priv *psecuritypriv = &padapter->securitypriv;
-       struct sk_buff * skb = precvframe->pkt;
+       struct sk_buff *skb = precvframe->pkt;
 
        pframe = skb->data;
 
@@ -266,7 +266,7 @@ void rtw_wep_decrypt23a(struct rtw_adapter *padapter,
 
 /* 3           ===== TKIP related ===== */
 
-static u32 secmicgetuint32(u8 * p)
+static u32 secmicgetuint32(u8 *p)
 /*  Convert from Byte[] to u32 in a portable way */
 {
        s32 i;
@@ -280,7 +280,7 @@ static u32 secmicgetuint32(u8 * p)
        return res;
 }
 
-static void secmicputuint32(u8 * p, u32 val)
+static void secmicputuint32(u8 *p, u32 val)
 /*  Convert from long to Byte[] in a portable way */
 {
        long i;
@@ -304,7 +304,7 @@ static void secmicclear(struct mic_data *pmicdata)
 
 }
 
-void rtw_secmicsetkey23a(struct mic_data *pmicdata, u8 * key)
+void rtw_secmicsetkey23a(struct mic_data *pmicdata, u8 *key)
 {
        /*  Set the key */
 
@@ -340,7 +340,7 @@ void rtw_secmicappend23abyte23a(struct mic_data *pmicdata, u8 b)
 
 }
 
-void rtw_secmicappend23a(struct mic_data *pmicdata, u8 * src, u32 nbytes)
+void rtw_secmicappend23a(struct mic_data *pmicdata, u8 *src, u32 nbytes)
 {
 
        /*  This is simple */
@@ -352,7 +352,7 @@ void rtw_secmicappend23a(struct mic_data *pmicdata, u8 * src, u32 nbytes)
 
 }
 
-void rtw_secgetmic23a(struct mic_data *pmicdata, u8 * dst)
+void rtw_secgetmic23a(struct mic_data *pmicdata, u8 *dst)
 {
 
        /*  Append the minimum padding */
@@ -374,7 +374,8 @@ void rtw_secgetmic23a(struct mic_data *pmicdata, u8 * dst)
 
 }
 
-void rtw_seccalctkipmic23a(u8 * key, u8 *header, u8 *data, u32 data_len, u8 *mic_code, u8 pri)
+void rtw_seccalctkipmic23a(u8 *key, u8 *header, u8 *data, u32 data_len,
+                          u8 *mic_code, u8 pri)
 {
 
        struct mic_data micdata;
@@ -728,7 +729,7 @@ int rtw_tkip_decrypt23a(struct rtw_adapter *padapter,
        struct  sta_info                *stainfo;
        struct  rx_pkt_attrib *prxattrib = &precvframe->attrib;
        struct  security_priv *psecuritypriv = &padapter->securitypriv;
-       struct sk_buff * skb = precvframe->pkt;
+       struct sk_buff *skb = precvframe->pkt;
        int res = _SUCCESS;
 
        pframe = skb->data;
index 09c44a55d4a6c692224c06cdc0655fd077d96925..5c4006aa23b2bce5c729ff92bdefcc6548de44c5 100644 (file)
@@ -1080,7 +1080,7 @@ bool is_ap_in_tkip23a(struct rtw_adapter *padapter)
                return false;
 }
 
-bool should_forbid_n_rate23a(struct rtw_adapter * padapter)
+bool should_forbid_n_rate23a(struct rtw_adapter *padapter)
 {
        u32 i;
        struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
This page took 0.037659 seconds and 5 git commands to generate.