mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kurt Kanzenbach <kurt@kmk-computers.de>
To: gregkh@linuxfoundation.org
Cc: dilekuzulmez@gmail.com, arnd@arndb.de, navyasri.tech@gmail.com,
	paul.gortmaker@windriver.com, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org,
	Kurt Kanzenbach <kurt@kmk-computers.de>
Subject: [PATCH 8/8] Staging: rtl8192u: ieee80211: added missing blank lines
Date: Wed, 28 Oct 2015 14:01:08 +0100	[thread overview]
Message-ID: <1446037268-19149-9-git-send-email-kurt@kmk-computers.de> (raw)
In-Reply-To: <1446037268-19149-1-git-send-email-kurt@kmk-computers.de>

This patch resolves the following checkpatch warnings:
  - WARNING: Missing a blank line after declarations

Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
---
 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c
index 157af31..908bc2e 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c
@@ -297,6 +297,7 @@ static void tkip_mixing_phase2(u8 *WEPSeed, const u8 *TK, const u16 *TTAK,
 #ifdef __BIG_ENDIAN
 	{
 		int i;
+
 		for (i = 0; i < 6; i++)
 			PPK[i] = (PPK[i] << 8) | (PPK[i] >> 8);
 	}
@@ -395,6 +396,7 @@ static int ieee80211_tkip_decrypt(struct sk_buff *skb, int hdr_len, void *priv)
 	u32 crc;
 	struct scatterlist sg;
 	int plen;
+
 	if (skb->len < hdr_len + 8 + 4)
 		return -1;
 
@@ -630,6 +632,7 @@ static int ieee80211_michael_mic_verify(struct sk_buff *skb, int keyidx,
 	if (memcmp(mic, skb->data + skb->len - 8, 8) != 0) {
 		struct rtl_80211_hdr_4addr *hdr;
 		hdr = (struct rtl_80211_hdr_4addr *) skb->data;
+
 		printk(KERN_DEBUG "%s: Michael MIC verification failed for "
 		       "MSDU from %pM keyidx=%d\n",
 		       skb->dev ? skb->dev->name : "N/A", hdr->addr2,
@@ -703,6 +706,7 @@ static int ieee80211_tkip_get_key(void *key, int len, u8 *seq, void *priv)
 		/* Return the sequence number of the last transmitted frame. */
 		u16 iv16 = tkey->tx_iv16;
 		u32 iv32 = tkey->tx_iv32;
+
 		if (iv16 == 0)
 			iv32--;
 		iv16--;
@@ -721,6 +725,7 @@ static int ieee80211_tkip_get_key(void *key, int len, u8 *seq, void *priv)
 static char *ieee80211_tkip_print_stats(char *p, void *priv)
 {
 	struct ieee80211_tkip_data *tkip = priv;
+
 	p += sprintf(p, "key[%d] alg=TKIP key_set=%d "
 		     "tx_pn=%02x%02x%02x%02x%02x%02x "
 		     "rx_pn=%02x%02x%02x%02x%02x%02x "
-- 
2.4.10


      parent reply	other threads:[~2015-10-28 13:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-28 13:01 [PATCH 0/8] Staging: rtl8192u: ieee80211: checkpatch cleanups Kurt Kanzenbach
2015-10-28 13:01 ` [PATCH 1/8] Staging: rtl8192u: ieee80211: fixed open brace positions Kurt Kanzenbach
2015-10-28 13:01 ` [PATCH 2/8] Staging: rtl8192u: ieee80211: fixed position of else statements Kurt Kanzenbach
2015-10-28 13:01 ` [PATCH 3/8] Staging: rtl8192u: ieee80211: added missing space around '=' Kurt Kanzenbach
2015-10-28 13:01 ` [PATCH 4/8] Staging: rtl8192u: ieee80211: added missing spaces after if Kurt Kanzenbach
2015-10-28 13:01 ` [PATCH 5/8] Staging: rtl8192u: ieee80211: corrected indent Kurt Kanzenbach
2015-10-28 13:01 ` [PATCH 6/8] Staging: rtl8192u: ieee80211: corrected block comments Kurt Kanzenbach
2015-10-28 13:01 ` [PATCH 7/8] Staging: rtl8192u: ieee80211: removed unnecessary braces Kurt Kanzenbach
2015-10-28 13:01 ` Kurt Kanzenbach [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1446037268-19149-9-git-send-email-kurt@kmk-computers.de \
    --to=kurt@kmk-computers.de \
    --cc=arnd@arndb.de \
    --cc=devel@driverdev.osuosl.org \
    --cc=dilekuzulmez@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=navyasri.tech@gmail.com \
    --cc=paul.gortmaker@windriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®