Skip to contentSkip to conversation

Staging: rtl8192u: ieee80211: Move { up one line.

PATCH In review Hatice ERTÜRK 2 participants 2 messages Mar 1, 2015 – Mar 2, 2015 Staging

lore
Share & tools
lore
#0 lore raw

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

---
 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
index 99c5d89..f7a978c 100644
@@ -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
maintainer
#1 lore raw
Quoted 7 lines · Hatice ERT�RK

That open brace { should be on the previous line.
This Error found with checkpatch.pl

---
 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 :(