mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: YAMANE Toshiaki <yamanetoshi@gmail.com>
To: Greg Kroah-Hartman <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org, YAMANE Toshiaki <yamanetoshi@gmail.com>
Subject: [PATCH 12/16] staging/rtl8187se: Fix spacing coding style in ieee80211/ieee80211_crypt_ccmp.c
Date: Tue, 20 Nov 2012 21:13:05 +0900	[thread overview]
Message-ID: <1353413585-24820-1-git-send-email-yamanetoshi@gmail.com> (raw)
In-Reply-To: <1353413395-24444-1-git-send-email-yamanetoshi@gmail.com>

The following error and warning fixed.
- ERROR: code indent should use tabs where possible
- WARNING: braces {} are not necessary for single statement blocks

Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com>
---
 .../rtl8187se/ieee80211/ieee80211_crypt_ccmp.c     |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_ccmp.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_ccmp.c
index 40217b7..f5949e8 100644
--- a/drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_ccmp.c
+++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_ccmp.c
@@ -129,7 +129,7 @@ static void ccmp_init_blocks(struct crypto_tfm *tfm,
 	/*
 	qc_included = ((WLAN_FC_GET_TYPE(fc) == IEEE80211_FTYPE_DATA) &&
 		       (WLAN_FC_GET_STYPE(fc) & 0x08));
-        */
+	*/
 	// fixed by David :2006.9.6
 	qc_included = ((WLAN_FC_GET_TYPE(fc) == IEEE80211_FTYPE_DATA) &&
 		       (WLAN_FC_GET_STYPE(fc) & 0x80));
@@ -340,9 +340,9 @@ static int ieee80211_ccmp_decrypt(struct sk_buff *skb, int hdr_len, void *priv)
 	}
 
 	if (memcmp(mic, a, CCMP_MIC_LEN) != 0) {
-		if (net_ratelimit()) {
+		if (net_ratelimit())
 			pr_debug("decrypt failed: STA=%pM\n", hdr->addr2);
-		}
+
 		key->dot11RSNAStatsCCMPDecryptErrors++;
 		return -5;
 	}
-- 
1.7.9.5


  parent reply	other threads:[~2012-11-20 12:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-20 12:09 [PATCH 01/16] staging/rtl8187se: Fix spacing coding style in r8180_dm.h YAMANE Toshiaki
2012-11-20 12:10 ` [PATCH 02/16] staging/rtl8187se: Fix include file issue in ieee80211/ieee80211_crypt.c YAMANE Toshiaki
2012-11-20 12:10 ` [PATCH 03/16] staging/rtl8187se: Use pr_ printks " YAMANE Toshiaki
2012-11-20 12:11 ` [PATCH 04/16] staging/rtl8187se: Fix spacing coding style " YAMANE Toshiaki
2012-11-20 12:11 ` [PATCH 05/16] staging/rtl8187se: Fix spacing coding style in ieee80211/ieee80211_crypt.h YAMANE Toshiaki
2012-11-20 12:11 ` [PATCH 06/16] staging/rtl8187se: Fix include file issue in ieee80211/ieee80211_module.c YAMANE Toshiaki
2012-11-20 12:11 ` [PATCH 07/16] staging/rtl8187se: Use netdev_ printks " YAMANE Toshiaki
2012-11-20 12:12 ` [PATCH 08/16] staging/rtl8187se: Fix spacing coding style " YAMANE Toshiaki
2012-11-20 12:12 ` [PATCH 09/16] staging/rtl8187se: Fix include file issue in ieee80211/ieee80211_crypt_ccmp.c YAMANE Toshiaki
2012-11-20 12:12 ` [PATCH 10/16] staging/rtl8187se: Fix spacing coding style " YAMANE Toshiaki
2012-11-20 12:12 ` [PATCH 11/16] staging/rtl8187se: Use pr_ printks " YAMANE Toshiaki
2012-11-20 12:13 ` YAMANE Toshiaki [this message]
2012-11-20 12:13 ` [PATCH 13/16] staging/rtl8187se: Fix include file issue in ieee80211/ieee80211_crypt_wep.c YAMANE Toshiaki
2012-11-20 12:13 ` [PATCH 14/16] staging/rtl8187se: Fix spacing coding style " YAMANE Toshiaki
2012-11-20 12:13 ` [PATCH 15/16] staging/rtl8187se: Use pr_ printks " YAMANE Toshiaki
2012-11-20 12:13 ` [PATCH 16/16] staging/rtl8187se: Fix spacing coding style " YAMANE Toshiaki

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=1353413585-24820-1-git-send-email-yamanetoshi@gmail.com \
    --to=yamanetoshi@gmail.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    /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®