Skip to contentSkip to conversation

staging: rtl8192u: Fixed 'tabstop' coding style warnings

PATCH Superseded simran singhal 2 participants 3 messages Feb 16, 2017 Staging

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 staging: rtl8192u: Fixed 'tabstop' coding style warnings

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

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

---
 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c +1 -1
index 563d7fe..814ab5a 100644
@@ -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);
Signature · 1 line
2.7.4
#1 lore raw

The subject line says "warnings", but there seems to be only one.

julia

Quoted 33 lines · simran singhal

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

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

---
 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c +1 -2
index 563d7fe..814ab5a 100644
@@ -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

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20170216210249.GA28497%40singhal-Inspiron-5558.
For more options, visit https://groups.google.com/d/optout.

#2 lore raw
In reply to simran singhal
Quoted 30 lines · SIMRAN SINGHAL

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

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

---

 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c | 2 +- 
 1 file changed, 1 insertion(+), 1 deletion(-) 
drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c +1 -1
index 563d7fe..814ab5a 100644 
@@ -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); 
Signature · 3 lines
2.7.4 

ok, I will fix it and resend it again.