]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Staging rtl8192e: Fixing checkpatch errors
authorMatthias Schoepe <matthias.schoepe@studium.uni-erlangen.de>
Thu, 26 Dec 2013 19:23:32 +0000 (20:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2014 18:29:37 +0000 (10:29 -0800)
We fixed checkpatch errors of the following type:
ERROR: "foo * bar" should be "foo *bar"

The error was fixed in the following files of the rtl8192e staging driver:
rtllib_softmac.c
rtllib_rx.c
rtllib_crypt.c
rtllib.h

There are no functional changes in this patch.

Signed-off-by: Matthias Schoepe <matthias.schoepe@studium.uni-erlangen.de>
Signed-off-by: Andreas Frembs <andreas.frembs@studium.uni-erlangen.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_crypt.c
drivers/staging/rtl8192e/rtllib_rx.c
drivers/staging/rtl8192e/rtllib_softmac.c

index 05ef49f24cd91c6f79f79f3e558e19df10f20625..83f5f57373a63f3a0987073ef6066e9aefc80395 100644 (file)
@@ -2896,7 +2896,7 @@ extern void HTConstructCapabilityElement(struct rtllib_device *ieee,
 extern void HTConstructInfoElement(struct rtllib_device *ieee,
                                   u8 *posHTInfo, u8 *len, u8 isEncrypt);
 extern void HTConstructRT2RTAggElement(struct rtllib_device *ieee,
-                                      u8 *posRT2RTAgg, u8len);
+                                      u8 *posRT2RTAgg, u8 *len);
 extern void HTOnAssocRsp(struct rtllib_device *ieee);
 extern void HTInitializeHTInfo(struct rtllib_device *ieee);
 extern void HTInitializeBssDesc(struct bss_ht *pBssHT);
index 86152d0e6b5dba3515dd5ba7d75ec351d16d0f6c..60c0cedefb86d94382f846c60ad91df173be326c 100644 (file)
@@ -183,7 +183,7 @@ struct lib80211_crypto_ops *rtllib_get_crypto_ops(const char *name)
 EXPORT_SYMBOL(rtllib_get_crypto_ops);
 
 
-static void * rtllib_crypt_null_init(int keyidx) { return (void *) 1; }
+static void *rtllib_crypt_null_init(int keyidx) { return (void *) 1; }
 static void rtllib_crypt_null_deinit(void *priv) {}
 
 static struct lib80211_crypto_ops rtllib_crypt_null = {
index 1fab69d313ba75dee3ec9c9728f1dd2837b8a0a9..6c8a8e12b2b508ff2ec121162b3123a7633e7803 100644 (file)
@@ -211,7 +211,7 @@ rtllib_rx_frame_mgmt(struct rtllib_device *ieee, struct sk_buff *skb,
         * this is not mandatory.... but seems that the probe
         * response parser uses it
         */
-       struct rtllib_hdr_3addr * hdr = (struct rtllib_hdr_3addr *)skb->data;
+       struct rtllib_hdr_3addr *hdr = (struct rtllib_hdr_3addr *)skb->data;
 
        rx_stats->len = skb->len;
        rtllib_rx_mgt(ieee, skb, rx_stats);
index eeec19cde229e2c09b06ac438752b0f52f666226..4bf72bc1ba7bb324127b77a368a0d8cccb1483ab 100644 (file)
@@ -1451,7 +1451,7 @@ static void rtllib_associate_abort_cb(unsigned long dev)
        rtllib_associate_abort((struct rtllib_device *) dev);
 }
 
-static void rtllib_associate_step1(struct rtllib_device *ieee, u8 * daddr)
+static void rtllib_associate_step1(struct rtllib_device *ieee, u8 *daddr)
 {
        struct rtllib_network *beacon = &ieee->current_network;
        struct sk_buff *skb;
@@ -1785,7 +1785,7 @@ void rtllib_softmac_check_all_nets(struct rtllib_device *ieee)
        spin_unlock_irqrestore(&ieee->lock, flags);
 }
 
-static inline u16 auth_parse(struct sk_buff *skb, u8** challenge, int *chlen)
+static inline u16 auth_parse(struct sk_buff *skb, u8 **challenge, int *chlen)
 {
        struct rtllib_authentication *a;
        u8 *t;