2021-05-26 10:53:39

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH v2] ath6kl: Fix inconsistent indenting

Eliminate the follow smatch warning:

drivers/net/wireless/ath/ath6kl/cfg80211.c:3308
ath6kl_cfg80211_sscan_start() warn: inconsistent indenting.

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
---
Changes in v2:
-For the follow advice: https://lore.kernel.org/patchwork/patch/1435973/

drivers/net/wireless/ath/ath6kl/cfg80211.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c
index 29527e8..fefdc67 100644
--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
+++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
@@ -3303,8 +3303,8 @@ static int ath6kl_cfg80211_sscan_start(struct wiphy *wiphy,
if (ret < 0)
return ret;
} else {
- ret = ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx,
- MATCHED_SSID_FILTER, 0);
+ ret = ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx,
+ MATCHED_SSID_FILTER, 0);
if (ret < 0)
return ret;
}
--
1.8.3.1


2021-06-15 14:10:36

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH v2] ath6kl: Fix inconsistent indenting

Jiapeng Chong <[email protected]> wrote:

> Eliminate the follow smatch warning:
>
> drivers/net/wireless/ath/ath6kl/cfg80211.c:3308
> ath6kl_cfg80211_sscan_start() warn: inconsistent indenting.
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Jiapeng Chong <[email protected]>
> Signed-off-by: Kalle Valo <[email protected]>

Patch applied to ath-next branch of ath.git, thanks.

75596eabd6e4 ath6kl: Fix inconsistent indenting

--
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]m/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches