All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "Toke Høiland-Jørgensen" <toke@redhat.com>
Cc: kbuild-all@lists.01.org,
	Johannes Berg <johannes@sipsolutions.net>,
	linux-wireless@vger.kernel.org,
	make-wifi-fast@lists.bufferbloat.net, ath10k@lists.infradead.org,
	John Crispin <john@phrozen.org>,
	Lorenzo Bianconi <lorenzo@kernel.org>,
	Felix Fietkau <nbd@nbd.name>, Kan Yan <kyan@google.com>,
	Rajkumar Manoharan <rmanohar@codeaurora.org>,
	Kevin Hayes <kevinhayes@google.com>
Subject: [RFC PATCH] mac80211: ieee80211_calc_rx_airtime() can be static
Date: Tue, 22 Oct 2019 06:14:33 +0800	[thread overview]
Message-ID: <20191021221433.5nnny72acwx7lr4a@4978f4969bb8> (raw)
In-Reply-To: <157148503639.2989444.8337290298332344733.stgit@toke.dk>


Fixes: 427959c8f966 ("mac80211: Import airtime calculation code from mt76")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
 airtime.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/net/mac80211/airtime.c b/net/mac80211/airtime.c
index c8d0cee613660..3f13640643e34 100644
--- a/net/mac80211/airtime.c
+++ b/net/mac80211/airtime.c
@@ -208,9 +208,9 @@ ieee80211_calc_legacy_rate_duration(const struct ieee80211_rate *rate,
 	return duration;
 }
 
-u32 ieee80211_calc_rx_airtime(struct ieee80211_hw *hw,
-			      struct ieee80211_rx_status *status,
-			      int len)
+static u32 ieee80211_calc_rx_airtime(struct ieee80211_hw *hw,
+				     struct ieee80211_rx_status *status,
+				     int len)
 {
 	struct ieee80211_supported_band *sband;
 	const struct ieee80211_rate *rate;
@@ -279,9 +279,9 @@ u32 ieee80211_calc_rx_airtime(struct ieee80211_hw *hw,
 	return duration;
 }
 
-u32 ieee80211_calc_tx_airtime_rate(struct ieee80211_hw *hw,
-				   struct ieee80211_tx_rate *rate,
-				   u8 band, int len)
+static u32 ieee80211_calc_tx_airtime_rate(struct ieee80211_hw *hw,
+					  struct ieee80211_tx_rate *rate,
+					  u8 band, int len)
 {
 	struct ieee80211_rx_status stat = {
 		.band = band,

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: "Toke Høiland-Jørgensen" <toke@redhat.com>
Cc: Kan Yan <kyan@google.com>,
	kbuild-all@lists.01.org,
	Rajkumar Manoharan <rmanohar@codeaurora.org>,
	Kevin Hayes <kevinhayes@google.com>,
	make-wifi-fast@lists.bufferbloat.net,
	linux-wireless@vger.kernel.org, ath10k@lists.infradead.org,
	John Crispin <john@phrozen.org>,
	Johannes Berg <johannes@sipsolutions.net>,
	Lorenzo Bianconi <lorenzo@kernel.org>,
	Felix Fietkau <nbd@nbd.name>
Subject: [RFC PATCH] mac80211: ieee80211_calc_rx_airtime() can be static
Date: Tue, 22 Oct 2019 06:14:33 +0800	[thread overview]
Message-ID: <20191021221433.5nnny72acwx7lr4a@4978f4969bb8> (raw)
In-Reply-To: <157148503639.2989444.8337290298332344733.stgit@toke.dk>


Fixes: 427959c8f966 ("mac80211: Import airtime calculation code from mt76")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
 airtime.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/net/mac80211/airtime.c b/net/mac80211/airtime.c
index c8d0cee613660..3f13640643e34 100644
--- a/net/mac80211/airtime.c
+++ b/net/mac80211/airtime.c
@@ -208,9 +208,9 @@ ieee80211_calc_legacy_rate_duration(const struct ieee80211_rate *rate,
 	return duration;
 }
 
-u32 ieee80211_calc_rx_airtime(struct ieee80211_hw *hw,
-			      struct ieee80211_rx_status *status,
-			      int len)
+static u32 ieee80211_calc_rx_airtime(struct ieee80211_hw *hw,
+				     struct ieee80211_rx_status *status,
+				     int len)
 {
 	struct ieee80211_supported_band *sband;
 	const struct ieee80211_rate *rate;
@@ -279,9 +279,9 @@ u32 ieee80211_calc_rx_airtime(struct ieee80211_hw *hw,
 	return duration;
 }
 
-u32 ieee80211_calc_tx_airtime_rate(struct ieee80211_hw *hw,
-				   struct ieee80211_tx_rate *rate,
-				   u8 band, int len)
+static u32 ieee80211_calc_tx_airtime_rate(struct ieee80211_hw *hw,
+					  struct ieee80211_tx_rate *rate,
+					  u8 band, int len)
 {
 	struct ieee80211_rx_status stat = {
 		.band = band,

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [RFC PATCH] mac80211: ieee80211_calc_rx_airtime() can be static
Date: Tue, 22 Oct 2019 06:14:33 +0800	[thread overview]
Message-ID: <20191021221433.5nnny72acwx7lr4a@4978f4969bb8> (raw)
In-Reply-To: <157148503639.2989444.8337290298332344733.stgit@toke.dk>

[-- Attachment #1: Type: text/plain, Size: 1271 bytes --]


Fixes: 427959c8f966 ("mac80211: Import airtime calculation code from mt76")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
 airtime.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/net/mac80211/airtime.c b/net/mac80211/airtime.c
index c8d0cee613660..3f13640643e34 100644
--- a/net/mac80211/airtime.c
+++ b/net/mac80211/airtime.c
@@ -208,9 +208,9 @@ ieee80211_calc_legacy_rate_duration(const struct ieee80211_rate *rate,
 	return duration;
 }
 
-u32 ieee80211_calc_rx_airtime(struct ieee80211_hw *hw,
-			      struct ieee80211_rx_status *status,
-			      int len)
+static u32 ieee80211_calc_rx_airtime(struct ieee80211_hw *hw,
+				     struct ieee80211_rx_status *status,
+				     int len)
 {
 	struct ieee80211_supported_band *sband;
 	const struct ieee80211_rate *rate;
@@ -279,9 +279,9 @@ u32 ieee80211_calc_rx_airtime(struct ieee80211_hw *hw,
 	return duration;
 }
 
-u32 ieee80211_calc_tx_airtime_rate(struct ieee80211_hw *hw,
-				   struct ieee80211_tx_rate *rate,
-				   u8 band, int len)
+static u32 ieee80211_calc_tx_airtime_rate(struct ieee80211_hw *hw,
+					  struct ieee80211_tx_rate *rate,
+					  u8 band, int len)
 {
 	struct ieee80211_rx_status stat = {
 		.band = band,

  parent reply	other threads:[~2019-10-21 22:14 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-19 11:37 [PATCH v4 0/4] Add Airtime Queue Limits (AQL) to mac80211 Toke Høiland-Jørgensen
2019-10-19 11:37 ` Toke Høiland-Jørgensen
2019-10-19 11:37 ` [PATCH v4 1/4] mac80211: Shrink the size of ack_frame_id to make room for tx_time_est Toke Høiland-Jørgensen
2019-10-19 11:37   ` Toke Høiland-Jørgensen
2019-10-19 11:37 ` [PATCH v4 2/4] mac80211: Import airtime calculation code from mt76 Toke Høiland-Jørgensen
2019-10-19 11:37   ` Toke Høiland-Jørgensen
2019-10-21 22:14   ` kbuild test robot
2019-10-21 22:14     ` kbuild test robot
2019-10-21 22:14     ` kbuild test robot
2019-10-21 22:14   ` kbuild test robot [this message]
2019-10-21 22:14     ` [RFC PATCH] mac80211: ieee80211_calc_rx_airtime() can be static kbuild test robot
2019-10-21 22:14     ` kbuild test robot
2019-10-19 11:37 ` [PATCH v4 3/4] mac80211: Implement Airtime-based Queue Limit (AQL) Toke Høiland-Jørgensen
2019-10-19 11:37   ` Toke Høiland-Jørgensen
2019-10-19 11:37 ` [PATCH v4 4/4] mac80211: Use Airtime-based Queue Limits (AQL) on packet dequeue Toke Høiland-Jørgensen
2019-10-19 11:37   ` Toke Høiland-Jørgensen
2019-10-22  6:20   ` Kan Yan
2019-10-22  6:20     ` Kan Yan
2019-10-22  7:14     ` Toke Høiland-Jørgensen
2019-10-22  7:14       ` Toke Høiland-Jørgensen
2019-10-22 11:35     ` Toke Høiland-Jørgensen
2019-10-22 11:35       ` Toke Høiland-Jørgensen
2019-10-23  6:41       ` Kan Yan
2019-10-23  6:41         ` Kan Yan
2019-10-23  8:18         ` Toke Høiland-Jørgensen
2019-10-23  8:18           ` Toke Høiland-Jørgensen
2019-10-23  9:52           ` Toke Høiland-Jørgensen
2019-10-23  9:52             ` Toke Høiland-Jørgensen
2019-10-23 15:43             ` Kan Yan
2019-10-23 15:43               ` Kan Yan
     [not found]             ` <CA+iem5vU-K-+sSSeNugy5ZZF_nH5vuaXW3J_WC=1WWhdkHOgjw@mail.gmail.com>
2019-10-23 21:09               ` Toke Høiland-Jørgensen
2019-10-23 21:09                 ` Toke Høiland-Jørgensen

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=20191021221433.5nnny72acwx7lr4a@4978f4969bb8 \
    --to=lkp@intel.com \
    --cc=ath10k@lists.infradead.org \
    --cc=johannes@sipsolutions.net \
    --cc=john@phrozen.org \
    --cc=kbuild-all@lists.01.org \
    --cc=kevinhayes@google.com \
    --cc=kyan@google.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lorenzo@kernel.org \
    --cc=make-wifi-fast@lists.bufferbloat.net \
    --cc=nbd@nbd.name \
    --cc=rmanohar@codeaurora.org \
    --cc=toke@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.