Skip to contentSkip to conversation

staging: wlan-ng: Cleanup fix parenthesis alignment

PATCH In review Gabriel Goller 2 participants 2 messages Oct 30, 2021 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: wlan-ng: Cleanup fix parenthesis alignment

This patch fixes some style-warnings of checkpatch.pl:
Alignment should match open parenthesis.

---
 drivers/staging/wlan-ng/cfg80211.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/staging/wlan-ng/cfg80211.c +4 -4
index 7951bd63816f..de2980c69711 100644
@@ -476,8 +476,8 @@ static int prism2_connect(struct wiphy *wiphy, struct net_device *dev,
 				return -EINVAL;
 
 			result = prism2_domibset_uint32(wlandev,
-				DIDMIB_DOT11SMT_PRIVACYTABLE_WEPDEFAULTKEYID,
-				sme->key_idx);
+							DIDMIB_DOT11SMT_PRIVACYTABLE_WEPDEFAULTKEYID,
+							sme->key_idx);
 			if (result)
 				goto exit;
 
@@ -589,8 +589,8 @@ static int prism2_set_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev,
 		data = MBM_TO_DBM(mbm);
 
 	result = prism2_domibset_uint32(wlandev,
-		DIDMIB_DOT11PHY_TXPOWERTABLE_CURRENTTXPOWERLEVEL,
-		data);
+					DIDMIB_DOT11PHY_TXPOWERTABLE_CURRENTTXPOWERLEVEL,
+					data);
 
 	if (result) {
 		err = -EFAULT;
Signature · 1 line
2.30.2
maintainer
#1 lore raw
Quoted 13 lines · Gabriel Goller

This patch fixes some style-warnings of checkpatch.pl:
Alignment should match open parenthesis.

---
 drivers/staging/wlan-ng/cfg80211.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/staging/wlan-ng/cfg80211.c +0 -0
index 7951bd63816f..de2980c69711 100644

drivers/staging/wlan-ng/cfg80211.c static int prism2_connect(struct wiphy *wiphy, struct net_device *dev, · line 479

Quoted 6 lines
drivers/staging/wlan-ng/cfg80211.c +1 -2
@@ -476,8 +476,8 @@ static int prism2_connect(struct wiphy *wiphy, struct net_device *dev,
 				return -EINVAL;
 
 			result = prism2_domibset_uint32(wlandev,
-				DIDMIB_DOT11SMT_PRIVACYTABLE_WEPDEFAULTKEYID,
-				sme->key_idx);
+							DIDMIB_DOT11SMT_PRIVACYTABLE_WEPDEFAULTKEYID,

And now you added another checkpatch.pl warning?

Please do not make changes that do this.

thanks,

greg k-h