]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: r8723au: move * to be adjacent to pointer name
authorAlison Schofield <amsfield22@gmail.com>
Sat, 17 Oct 2015 16:19:46 +0000 (18:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Oct 2015 03:16:37 +0000 (20:16 -0700)
Move * in pointer types to be adjacent to pointer names per Linux
coding style.

Addresses checkpatch.pl: ERROR: "foo*    bar" should be "foo *bar"

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_ieee80211.c

index cdd7bc402ece86a778059a83fc866acfab182489..07a6490a83d61d1bdf9317934df242efba7e7798 100644 (file)
@@ -348,9 +348,9 @@ int rtw_generate_ie23a(struct registry_priv *pregistrypriv)
 {
        u8      wireless_mode;
        int     sz = 0, rateLen;
-       struct wlan_bssid_ex*   pdev_network = &pregistrypriv->dev_network;
-       u8*     ie = pdev_network->IEs;
-       u16 cap;
+       struct wlan_bssid_ex *pdev_network = &pregistrypriv->dev_network;
+       u8      *ie = pdev_network->IEs;
+       u16     cap;
 
        pdev_network->tsf = 0;
 
@@ -444,7 +444,8 @@ static int rtw_get_wpa2_cipher_suite(const u8 *s)
        return 0;
 }
 
-int rtw_parse_wpa_ie23a(const u8* wpa_ie, int wpa_ie_len, int *group_cipher, int *pairwise_cipher, int *is_8021x)
+int rtw_parse_wpa_ie23a(const u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
+                       int *pairwise_cipher, int *is_8021x)
 {
        int i, ret = _SUCCESS;
        int left, count;