* [PATCH -next] wcn36xx: clean up some inconsistent indenting
@ 2022-02-01 4:15 Yang Li
2022-02-03 9:05 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2022-02-01 4:15 UTC (permalink / raw)
To: davem
Cc: kuba, kvalo, wcn36xx, linux-wireless, netdev, linux-kernel,
Yang Li, Abaci Robot
Eliminate the follow smatch warnings:
drivers/net/wireless/ath/wcn36xx/main.c:1394 wcn36xx_get_survey() warn:
inconsistent indenting
drivers/net/wireless/ath/wcn36xx/txrx.c:379 wcn36xx_rx_skb() warn:
inconsistent indenting
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
drivers/net/wireless/ath/wcn36xx/main.c | 10 +++++-----
drivers/net/wireless/ath/wcn36xx/txrx.c | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c
index 75661d449712..0cb5f1a9532a 100644
--- a/drivers/net/wireless/ath/wcn36xx/main.c
+++ b/drivers/net/wireless/ath/wcn36xx/main.c
@@ -1391,11 +1391,11 @@ static int wcn36xx_get_survey(struct ieee80211_hw *hw, int idx,
spin_unlock_irqrestore(&wcn->survey_lock, flags);
- wcn36xx_dbg(WCN36XX_DBG_MAC,
- "ch %d rssi %d snr %d noise %d filled %x freq %d\n",
- HW_VALUE_CHANNEL(survey->channel->hw_value),
- chan_survey->rssi, chan_survey->snr, survey->noise,
- survey->filled, survey->channel->center_freq);
+ wcn36xx_dbg(WCN36XX_DBG_MAC,
+ "ch %d rssi %d snr %d noise %d filled %x freq %d\n",
+ HW_VALUE_CHANNEL(survey->channel->hw_value),
+ chan_survey->rssi, chan_survey->snr, survey->noise,
+ survey->filled, survey->channel->center_freq);
return 0;
}
diff --git a/drivers/net/wireless/ath/wcn36xx/txrx.c b/drivers/net/wireless/ath/wcn36xx/txrx.c
index c04983718d02..df749b114568 100644
--- a/drivers/net/wireless/ath/wcn36xx/txrx.c
+++ b/drivers/net/wireless/ath/wcn36xx/txrx.c
@@ -376,8 +376,8 @@ int wcn36xx_rx_skb(struct wcn36xx *wcn, struct sk_buff *skb)
status.freq = WCN36XX_CENTER_FREQ(wcn);
}
- wcn36xx_update_survey(wcn, status.signal, get_snr(bd),
- status.band, status.freq);
+ wcn36xx_update_survey(wcn, status.signal, get_snr(bd),
+ status.band, status.freq);
if (bd->rate_id < ARRAY_SIZE(wcn36xx_rate_table)) {
rate = &wcn36xx_rate_table[bd->rate_id];
--
2.20.1.7.g153144c
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH -next] wcn36xx: clean up some inconsistent indenting
2022-02-01 4:15 [PATCH -next] wcn36xx: clean up some inconsistent indenting Yang Li
@ 2022-02-03 9:05 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2022-02-03 9:05 UTC (permalink / raw)
To: Yang Li
Cc: davem, kuba, wcn36xx, linux-wireless, netdev, linux-kernel,
Yang Li, Abaci Robot
Yang Li <yang.lee@linux.alibaba.com> wrote:
> Eliminate the follow smatch warnings:
> drivers/net/wireless/ath/wcn36xx/main.c:1394 wcn36xx_get_survey() warn:
> inconsistent indenting
> drivers/net/wireless/ath/wcn36xx/txrx.c:379 wcn36xx_rx_skb() warn:
> inconsistent indenting
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Patch applied to ath-next branch of ath.git, thanks.
df507a7f8675 wcn36xx: clean up some inconsistent indenting
--
https://patchwork.kernel.org/project/linux-wireless/patch/20220201041548.18464-1-yang.lee@linux.alibaba.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-03 9:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-01 4:15 [PATCH -next] wcn36xx: clean up some inconsistent indenting Yang Li
2022-02-03 9:05 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®