* [PATCH] staging: wlan-ng: Cleanup fix parenthesis alignment
@ 2021-10-30 9:47 Gabriel Goller
2021-10-30 9:50 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Gabriel Goller @ 2021-10-30 9:47 UTC (permalink / raw)
To: gregkh; +Cc: linux-staging
This patch fixes some style-warnings of checkpatch.pl:
Alignment should match open parenthesis.
Signed-off-by: Gabriel Goller <gabrielgoller123@gmail.com>
---
drivers/staging/wlan-ng/cfg80211.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c
index 7951bd63816f..de2980c69711 100644
--- a/drivers/staging/wlan-ng/cfg80211.c
+++ b/drivers/staging/wlan-ng/cfg80211.c
@@ -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;
--
2.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] staging: wlan-ng: Cleanup fix parenthesis alignment
2021-10-30 9:47 [PATCH] staging: wlan-ng: Cleanup fix parenthesis alignment Gabriel Goller
@ 2021-10-30 9:50 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2021-10-30 9:50 UTC (permalink / raw)
To: Gabriel Goller; +Cc: linux-staging
On Sat, Oct 30, 2021 at 11:47:35AM +0200, Gabriel Goller wrote:
> This patch fixes some style-warnings of checkpatch.pl:
> Alignment should match open parenthesis.
>
> Signed-off-by: Gabriel Goller <gabrielgoller123@gmail.com>
> ---
> drivers/staging/wlan-ng/cfg80211.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c
> index 7951bd63816f..de2980c69711 100644
> --- a/drivers/staging/wlan-ng/cfg80211.c
> +++ b/drivers/staging/wlan-ng/cfg80211.c
> @@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-30 9:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-30 9:47 [PATCH] staging: wlan-ng: Cleanup fix parenthesis alignment Gabriel Goller
2021-10-30 9:50 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.