From: hanyu001@208suo.com
To: toke@toke.dk, kvalo@kernel.org
Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] ath: ath9k: add space before the open parenthesis '('
Date: Mon, 17 Jul 2023 15:53:25 +0800 [thread overview]
Message-ID: <425049168ccae17c842be2dd0c53f5ff@208suo.com> (raw)
In-Reply-To: <tencent_CA29C8C996AFE373DE10A96D514BB12C7405@qq.com>
This patch fixes the checkpatch.pl error:
drivers/net/wireless/ath/ath9k/xmit.c: ERROR: space required before the
open parenthesis '('
Signed-off-by: maqimei <2433033762@qq.com>
---
drivers/net/wireless/ath/ath9k/xmit.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c
b/drivers/net/wireless/ath/ath9k/xmit.c
index f6f2ab7..72f9593 100644
--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -717,7 +717,7 @@ static void ath_tx_count_airtime(struct ath_softc
*sc,
int i;
airtime += ts->duration * (ts->ts_longretry + 1);
- for(i = 0; i < ts->ts_rateindex; i++) {
+ for (i = 0; i < ts->ts_rateindex; i++) {
int rate_dur = ath9k_hw_get_duration(sc->sc_ah, bf->bf_desc,
i);
airtime += rate_dur * bf->rates[i].count;
}
@@ -2437,7 +2437,7 @@ void ath_tx_cabq(struct ieee80211_hw *hw, struct
ieee80211_vif *vif,
break;
skb = ieee80211_get_buffered_bc(hw, vif);
- } while(skb);
+ } while (skb);
if (skb)
ieee80211_free_txskb(hw, skb);
next parent reply other threads:[~2023-07-17 7:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <tencent_CA29C8C996AFE373DE10A96D514BB12C7405@qq.com>
2023-07-17 7:53 ` hanyu001 [this message]
[not found] <tencent_20790524E1454B45E150A32030DB910EB907@qq.com>
2023-07-17 7:48 ` hanyu001
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=425049168ccae17c842be2dd0c53f5ff@208suo.com \
--to=hanyu001@208suo.com \
--cc=kvalo@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=toke@toke.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®