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 08/16] staging/rtl8187se: Fix spacing coding style in ieee80211/ieee80211_module.c
Date: Tue, 20 Nov 2012 21:12:11 +0900	[thread overview]
Message-ID: <1353413531-24684-1-git-send-email-yamanetoshi@gmail.com> (raw)
In-Reply-To: <1353413395-24444-1-git-send-email-yamanetoshi@gmail.com>

The following errors and warnings fixed.
- ERROR: space required after that ',' (ctx:VxV)
- ERROR: code indent should use tabs where possible
- WARNING: please, no space before tabs
- WARNING: please, no spaces at the start of a line
- WARNING: suspect code indent for conditional statements (8, 10)

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

diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_module.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_module.c
index 66b4833..4358c4b 100644
--- a/drivers/staging/rtl8187se/ieee80211/ieee80211_module.c
+++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_module.c
@@ -99,7 +99,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
 {
 	struct ieee80211_device *ieee;
 	struct net_device *dev;
-	int i,err;
+	int i, err;
 
 	IEEE80211_DEBUG_INFO("Initializing...\n");
 
@@ -139,11 +139,11 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
 	spin_lock_init(&ieee->wpax_suitlist_lock);
 
 	ieee->wpax_type_set = 0;
- 	ieee->wpa_enabled = 0;
- 	ieee->tkip_countermeasures = 0;
- 	ieee->drop_unencrypted = 0;
- 	ieee->privacy_invoked = 0;
- 	ieee->ieee802_1x = 1;
+	ieee->wpa_enabled = 0;
+	ieee->tkip_countermeasures = 0;
+	ieee->drop_unencrypted = 0;
+	ieee->privacy_invoked = 0;
+	ieee->ieee802_1x = 1;
 	ieee->raw_tx = 0;
 
 	ieee80211_softmac_init(ieee);
@@ -152,9 +152,9 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
 		INIT_LIST_HEAD(&ieee->ibss_mac_hash[i]);
 
 	for (i = 0; i < 17; i++) {
-	  ieee->last_rxseq_num[i] = -1;
-	  ieee->last_rxfrag_num[i] = -1;
-	  ieee->last_packet_time[i] = 0;
+		ieee->last_rxseq_num[i] = -1;
+		ieee->last_rxfrag_num[i] = -1;
+		ieee->last_packet_time[i] = 0;
 	}
 //These function were added to load crypte module autoly
 	ieee80211_tkip_null();
-- 
1.7.9.5


  parent reply	other threads:[~2012-11-20 12:12 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 ` YAMANE Toshiaki [this message]
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 ` [PATCH 12/16] staging/rtl8187se: Fix spacing coding style " YAMANE Toshiaki
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=1353413531-24684-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®