Staging: rtl8192u: ieee80211: Move { up one line.
PATCH 1/1 Staging: rtl8192u: ieee80211: Move { up one line.
That open brace { should be on the previous line.
This Error found with checkpatch.pl
Signed-off-by Hatice ERTURK <[email protected]>
--- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c +2 -4
@@ -229,8 +229,7 @@ static int ieee80211_ccmp_encrypt(struct sk_buff *skb, int hdr_len, void *priv) hdr = (struct ieee80211_hdr_4addr *) skb->data; -if (!tcb_desc->bHwSec) - { +if (!tcb_desc->bHwSec) {int blocks, last, len;u8 *mic;u8 *b0 = key->tx_b0;
@@ -322,8 +321,7 @@ static int ieee80211_ccmp_decrypt(struct sk_buff *skb, int hdr_len, void *priv) key->dot11RSNAStatsCCMPReplays++;return -4 ; } -if (!tcb_desc->bHwSec) - { +if (!tcb_desc->bHwSec) {size_t data_len = skb->len - hdr_len -CCMP_HDR_LEN -CCMP_MIC_LEN ;u8 *mic = skb->data + skb->len -CCMP_MIC_LEN ;u8 *b0 = key->rx_b0;
Signature · 1 line
1.9.1
Greg KH
maintainerQuoted 7 lines · Hatice ERT�RK
That open brace { should be on the previous line.
This Error found with checkpatch.plSigned-off-by Hatice ERTURK <[email protected]>--- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
two emails with identical subject lines, yet doing different things :(