Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1582953

[PATCH v2 2/3] staging: rtl8192u: Fixed 'tabstop' coding style warning

From simran singhal <singhalsimran0@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v2 2/3] staging: rtl8192u: Fixed 'tabstop' coding style warning
Date 2017-02-16 22:30 +0100
Message-ID <tbBMJ-3Eb-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Replace a mix of tabs and spaces indentation by tabs only.

Fixed checkpatch warning "Statements should start on a tabstop" in
rtl8192u module.

Signed-off-by: simran singhal <singhalsimran0@gmail.com>
---

 v2:
   -Modified "warnings" to "warning" in the patch Subject.

 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c
index 563d7fe..814ab5a 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c
@@ -666,7 +666,7 @@ int ieee80211_wx_set_encode_ext(struct ieee80211_device *ieee,
 	if (ieee->set_security)
 		ieee->set_security(ieee->dev, &sec);
 
-	 if (ieee->reset_on_keychange &&
+	if (ieee->reset_on_keychange &&
 	    ieee->iw_mode != IW_MODE_INFRA &&
 	    ieee->reset_port && ieee->reset_port(dev)) {
 		IEEE80211_DEBUG_WX("%s: reset_port failed\n", dev->name);
-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 2/3] staging: rtl8192u: Fixed 'tabstop' coding style  warning simran singhal <singhalsimran0@gmail.com> - 2017-02-16 22:30 +0100
  Re: [Outreachy kernel] [PATCH v2 2/3] staging: rtl8192u: Fixed  'tabstop' coding style warning Julia Lawall <julia.lawall@lip6.fr> - 2017-02-16 22:40 +0100

csiph-web