]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: rtl8712: line over 80 characters.
authorBhagyashri Dighole <digholebhagyashri@gmail.com>
Tue, 12 Mar 2019 07:16:55 +0000 (12:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2019 06:05:24 +0000 (07:05 +0100)
Fix coding style issues, which solves checkpatch.pl warning:
"WARNING: line over 80 characters".

Signed-off-by: Bhagyashri Dighole <digholebhagyashri@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/hal_init.c
drivers/staging/rtl8712/ieee80211.c
drivers/staging/rtl8712/ieee80211.h
drivers/staging/rtl8712/rtl871x_xmit.c

index 4c6519ccab3028f302259082bd10eea8f299299e..401f0e442bcf472643912dcb84dbb99e0661eb5e 100644 (file)
@@ -100,7 +100,8 @@ static void fill_fwpriv(struct _adapter *padapter, struct fw_priv *pfwpriv)
                pfwpriv->rf_config = RTL8712_RFC_1T2R;
        }
        pfwpriv->mp_mode = (pregpriv->mp_mode == 1) ? 1 : 0;
-       pfwpriv->vcs_type = pregpriv->vrtl_carrier_sense; /* 0:off 1:on 2:auto */
+       /* 0:off 1:on 2:auto */
+       pfwpriv->vcs_type = pregpriv->vrtl_carrier_sense;
        pfwpriv->vcs_mode = pregpriv->vcs_type; /* 1:RTS/CTS 2:CTS to self */
        /* default enable turbo_mode */
        pfwpriv->turbo_mode = ((pregpriv->wifi_test == 1) ? 0 : 1);
index 2eae11dd6b4200df59a0611c1c7c87ef564baaad..4cca7390c8ef9a7afd940b0e976c906a45c5ac2a 100644 (file)
@@ -238,7 +238,8 @@ unsigned char *r8712_get_wpa_ie(unsigned char *pie, uint *wpa_ie_len, int limit)
        return NULL;
 }
 
-unsigned char *r8712_get_wpa2_ie(unsigned char *pie, uint *rsn_ie_len, int limit)
+unsigned char *r8712_get_wpa2_ie(unsigned char *pie, uint *rsn_ie_len,
+                                int limit)
 {
        return r8712_get_ie(pie, _WPA2_IE_ID_, rsn_ie_len, limit);
 }
index 1470771daa62251a023e61c6afaa4f9f91add4c0..8098f6905554478025b5ee348e21fb53ce10950d 100644 (file)
@@ -728,7 +728,8 @@ struct registry_priv;
 
 u8 *r8712_set_ie(u8 *pbuf, sint index, uint len, u8 *source, uint *frlen);
 u8 *r8712_get_ie(u8 *pbuf, sint index, uint *len, sint limit);
-unsigned char *r8712_get_wpa_ie(unsigned char *pie, uint *rsn_ie_len, int limit);
+unsigned char *r8712_get_wpa_ie(unsigned char *pie, uint *rsn_ie_len,
+                               int limit);
 unsigned char *r8712_get_wpa2_ie(unsigned char *pie, uint *rsn_ie_len,
                                 int limit);
 int r8712_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
index 7c88574099165fb897b8fd849fdf44a769997ee5..f6fe8ea129611f46811258464873bd29f8a7c5f9 100644 (file)
@@ -75,8 +75,8 @@ sint _r8712_init_xmit_priv(struct xmit_priv *pxmitpriv,
         * and initialize free_xmit_frame below.
         * Please also apply  free_txobj to link_up all the xmit_frames...
         */
-       pxmitpriv->pallocated_frame_buf = kmalloc(NR_XMITFRAME * sizeof(struct xmit_frame) + 4,
-                                                 GFP_ATOMIC);
+       pxmitpriv->pallocated_frame_buf =
+               kmalloc(NR_XMITFRAME * sizeof(struct xmit_frame) + 4, GFP_ATOMIC);
        if (!pxmitpriv->pallocated_frame_buf) {
                pxmitpriv->pxmit_frame_buf = NULL;
                return _FAIL;
@@ -114,8 +114,8 @@ sint _r8712_init_xmit_priv(struct xmit_priv *pxmitpriv,
        /*init xmit_buf*/
        _init_queue(&pxmitpriv->free_xmitbuf_queue);
        _init_queue(&pxmitpriv->pending_xmitbuf_queue);
-       pxmitpriv->pallocated_xmitbuf = kmalloc(NR_XMITBUFF * sizeof(struct xmit_buf) + 4,
-                                               GFP_ATOMIC);
+       pxmitpriv->pallocated_xmitbuf =
+               kmalloc(NR_XMITBUFF * sizeof(struct xmit_buf) + 4, GFP_ATOMIC);
        if (!pxmitpriv->pallocated_xmitbuf) {
                kfree(pxmitpriv->pallocated_frame_buf);
                pxmitpriv->pallocated_frame_buf = NULL;