diff mbox series

ath10k: fix parenthesis alignment

Message ID 153297700266.4874.12439168003972242663.stgit@potku.adurom.net (mailing list archive)
State Accepted
Commit ebfac1d0c1663a47f6a0912930b9b8db4306e38b
Delegated to: Kalle Valo
Headers show
Series ath10k: fix parenthesis alignment | expand

Commit Message

Kalle Valo July 30, 2018, 6:56 p.m. UTC
These were recently introduced and found by checkpatch:

drivers/net/wireless/ath/ath10k/mac.c:6118: Alignment should match open parenthesis
drivers/net/wireless/ath/ath10k/mac.c:6121: Alignment should match open parenthesis
drivers/net/wireless/ath/ath10k/mac.c:6124: Alignment should match open parenthesis

Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
---
 drivers/net/wireless/ath/ath10k/mac.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Kalle Valo July 31, 2018, 7:42 a.m. UTC | #1
Kalle Valo <kvalo@codeaurora.org> wrote:

> These were recently introduced and found by checkpatch:
> 
> drivers/net/wireless/ath/ath10k/mac.c:6118: Alignment should match open parenthesis
> drivers/net/wireless/ath/ath10k/mac.c:6121: Alignment should match open parenthesis
> drivers/net/wireless/ath/ath10k/mac.c:6124: Alignment should match open parenthesis
> 
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

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

ebfac1d0c166 ath10k: fix parenthesis alignment
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index f068e2b9eacc..b6830fa16e99 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -6107,13 +6107,13 @@  static void ath10k_sta_rc_update_wk(struct work_struct *wk)
 
 		mode = chan_to_phymode(&def);
 		ath10k_dbg(ar, ATH10K_DBG_MAC, "mac update sta %pM peer bw %d phymode %d\n",
-				sta->addr, bw, mode);
+			   sta->addr, bw, mode);
 
 		err = ath10k_wmi_peer_set_param(ar, arvif->vdev_id, sta->addr,
-				WMI_PEER_PHYMODE, mode);
+						WMI_PEER_PHYMODE, mode);
 		if (err) {
 			ath10k_warn(ar, "failed to update STA %pM peer phymode %d: %d\n",
-					sta->addr, mode, err);
+				    sta->addr, mode, err);
 			goto exit;
 		}