wcn36xx: clean up some inconsistent indenting
Subsystems (3)
PATCH 1/1 wcn36xx: clean up some inconsistent indenting
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 <[email protected]>
Signed-off-by Yang Li <[email protected]>
--- drivers/net/wireless/ath/wcn36xx/main.c | 10 +++++----- drivers/net/wireless/ath/wcn36xx/txrx.c | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-)
drivers/net/wireless/ath/wcn36xx/main.c +5 -5
@@ -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 ; }
drivers/net/wireless/ath/wcn36xx/txrx.c +2 -2
@@ -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];
Signature · 1 line
2.20.1.7.g153144c
Quoted 9 lines · Yang Li
Eliminate the follow smatch warnings:
drivers/net/wireless/ath/wcn36xx/main.c:1394wcn36xx_get_survey()warn:
inconsistent indentingdrivers/net/wireless/ath/wcn36xx/txrx.c:379wcn36xx_rx_skb()warn:
inconsistent indentingReported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath-next branch of ath.git, thanks.
df507a7f8675 wcn36xx: clean up some inconsistent indenting
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches