diff options
author | simran singhal | 2017-02-12 08:26:23 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2017-02-12 13:48:33 +0100 |
commit | 20f896c4dbb48f7e9ee81d08d1bcafbacb2f4821 (patch) | |
tree | 67b95db3f82f0c62936eb14c57e06a138f413444 /drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | |
parent | staging: rtl8192e: Aligning the * on each line in block comments (diff) | |
download | kernel-qcow2-linux-20f896c4dbb48f7e9ee81d08d1bcafbacb2f4821.tar.gz kernel-qcow2-linux-20f896c4dbb48f7e9ee81d08d1bcafbacb2f4821.tar.xz kernel-qcow2-linux-20f896c4dbb48f7e9ee81d08d1bcafbacb2f4821.zip |
staging: rtl8192u: Fixing no new typedef warning
This patch fixes following checkpatch.pl
warnings: WARNING:do not add new typedefs.
All the related files have been modified.
Signed-off-by: simran singhal <singhalsimran0@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c')
-rw-r--r-- | drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c index a05dae9f5918..0e8c876c1404 100644 --- a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c @@ -88,7 +88,7 @@ static int prism2_wep_encrypt(struct sk_buff *skb, int hdr_len, void *priv) u32 klen, len; u8 key[WEP_KEY_LEN + 3]; u8 *pos; - cb_desc *tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); + struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); u32 crc; u8 *icv; struct scatterlist sg; @@ -167,7 +167,7 @@ static int prism2_wep_decrypt(struct sk_buff *skb, int hdr_len, void *priv) u32 klen, plen; u8 key[WEP_KEY_LEN + 3]; u8 keyidx, *pos; - cb_desc *tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); + struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); u32 crc; u8 icv[4]; struct scatterlist sg; |