2017-07-06 06:42:43

by Kalle Valo

[permalink] [raw]
Subject: [PATCH] ath10k: fix indenting in ath10k_wmi_update_noa()

Commit 59ae1d127ac0 ("networking: introduce and use skb_put_data()") introduced
a new checkpatch warning:

drivers/net/wireless/ath/ath10k/wmi.c:3308: code indent should use tabs where possible

Fix that.

Signed-off-by: Kalle Valo <[email protected]>
---
drivers/net/wireless/ath/ath10k/wmi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c
index 3efb404b83c0..96cd1ebd6a7e 100644
--- a/drivers/net/wireless/ath/ath10k/wmi.c
+++ b/drivers/net/wireless/ath/ath10k/wmi.c
@@ -3305,7 +3305,7 @@ static void ath10k_wmi_update_noa(struct ath10k *ar, struct ath10k_vif *arvif,
if (arvif->u.ap.noa_data)
if (!pskb_expand_head(bcn, 0, arvif->u.ap.noa_len, GFP_ATOMIC))
skb_put_data(bcn, arvif->u.ap.noa_data,
- arvif->u.ap.noa_len);
+ arvif->u.ap.noa_len);
}

static int ath10k_wmi_op_pull_swba_ev(struct ath10k *ar, struct sk_buff *skb,


2017-07-06 12:15:46

by Kalle Valo

[permalink] [raw]
Subject: Re: ath10k: fix indenting in ath10k_wmi_update_noa()

Kalle Valo <[email protected]> wrote:

> Commit 59ae1d127ac0 ("networking: introduce and use skb_put_data()") introduced
> a new checkpatch warning:
>
> drivers/net/wireless/ath/ath10k/wmi.c:3308: code indent should use tabs where possible
>
> Fix that.
>
> Signed-off-by: Kalle Valo <[email protected]>

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

5784f87df166 ath10k: fix indenting in ath10k_wmi_update_noa()

--
https://patchwork.kernel.org/patch/9827511/

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