linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cfg80211: Fix inconsistent indenting
@ 2021-05-25 10:57 Jiapeng Chong
  2021-05-25 11:12 ` Johannes Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2021-05-25 10:57 UTC (permalink / raw)
  To: kvalo; +Cc: davem, kuba, linux-wireless, netdev, linux-kernel, Jiapeng Chong

Eliminate the follow smatch warning:

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

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 drivers/net/wireless/ath/ath6kl/cfg80211.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c
index 29527e8..b722104 100644
--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
+++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
@@ -3303,7 +3303,7 @@ 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,
+		ret = ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx,
 						MATCHED_SSID_FILTER, 0);
 		if (ret < 0)
 			return ret;
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] cfg80211: Fix inconsistent indenting
  2021-05-25 10:57 [PATCH] cfg80211: Fix inconsistent indenting Jiapeng Chong
@ 2021-05-25 11:12 ` Johannes Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2021-05-25 11:12 UTC (permalink / raw)
  To: Jiapeng Chong, kvalo; +Cc: davem, kuba, linux-wireless, netdev, linux-kernel

Wrong subject - this isn't related to cfg80211, it's ath6kl.

johannes


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-25 11:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25 10:57 [PATCH] cfg80211: Fix inconsistent indenting Jiapeng Chong
2021-05-25 11:12 ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).