staging: wlan-ng: Cleanup fix parenthesis alignment
PATCH 1/1 staging: wlan-ng: Cleanup fix parenthesis alignment
This patch fixes some style-warnings of checkpatch.pl:
Alignment should match open parenthesis.
Signed-off-by Gabriel Goller <[email protected]>
--- drivers/staging/wlan-ng/cfg80211.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/staging/wlan-ng/cfg80211.c +4 -4
@@ -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
Greg KH
maintainerQuoted 13 lines · Gabriel Goller
This patch fixes some style-warnings of checkpatch.pl:
Alignment should match open parenthesis.Signed-off-by Gabriel Goller <[email protected]>--- drivers/staging/wlan-ng/cfg80211.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)drivers/staging/wlan-ng/cfg80211.c +0
-0
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