From: Stephen Rothwell <sfr@canb.auug.org.au> To: David Miller <davem@davemloft.net>, <netdev@vger.kernel.org>, "John W. Linville" <linville@tuxdriver.com> Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Felix Fietkau <nbd@openwrt.org>, Johannes Berg <johannes.berg@intel.com> Subject: linux-next: manual merge of the net-next tree with the wireless tree Date: Thu, 24 Jul 2014 12:47:00 +1000 [thread overview] Message-ID: <20140724124700.602081e7@canb.auug.org.au> (raw) [-- Attachment #1: Type: text/plain, Size: 1610 bytes --] Hi all, Today's linux-next merge of the net-next tree got a conflict in net/mac80211/cfg.c between commit fa8f136fe9a8 ("mac80211: fix crash on getting sta info with uninitialized rate control") from the wireless tree and commit b7ffbd7ef675 ("cfg80211: make ethtool the driver's responsibility") from the net-next tree. I fixed it up (the latter moved the code modified by the former, so I removed the code and added the following patch) and can carry the fix as necessary (no action is required). From: Stephen Rothwell <sfr@canb.auug.org.au> Date: Thu, 24 Jul 2014 12:32:49 +1000 Subject: [PATCH] mac80211: fix for code movement Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> --- net/mac80211/sta_info.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c index f41177f58b30..c6ee2139fbc5 100644 --- a/net/mac80211/sta_info.c +++ b/net/mac80211/sta_info.c @@ -1724,12 +1724,15 @@ void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo) { struct ieee80211_sub_if_data *sdata = sta->sdata; struct ieee80211_local *local = sdata->local; - struct rate_control_ref *ref = local->rate_ctrl; + struct rate_control_ref *ref = NULL; struct timespec uptime; u64 packets = 0; u32 thr = 0; int i, ac; + if (test_sta_flag(sta, WLAN_STA_RATE_CONTROL)) + ref = local->rate_ctrl; + sinfo->generation = sdata->local->sta_generation; sinfo->filled = STATION_INFO_INACTIVE_TIME | -- 2.0.1 -- Cheers, Stephen Rothwell sfr@canb.auug.org.au [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 819 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Stephen Rothwell <sfr@canb.auug.org.au> To: David Miller <davem@davemloft.net>, netdev@vger.kernel.org, "John W. Linville" <linville@tuxdriver.com> Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Felix Fietkau <nbd@openwrt.org>, Johannes Berg <johannes.berg@intel.com> Subject: linux-next: manual merge of the net-next tree with the wireless tree Date: Thu, 24 Jul 2014 12:47:00 +1000 [thread overview] Message-ID: <20140724124700.602081e7@canb.auug.org.au> (raw) [-- Attachment #1: Type: text/plain, Size: 1610 bytes --] Hi all, Today's linux-next merge of the net-next tree got a conflict in net/mac80211/cfg.c between commit fa8f136fe9a8 ("mac80211: fix crash on getting sta info with uninitialized rate control") from the wireless tree and commit b7ffbd7ef675 ("cfg80211: make ethtool the driver's responsibility") from the net-next tree. I fixed it up (the latter moved the code modified by the former, so I removed the code and added the following patch) and can carry the fix as necessary (no action is required). From: Stephen Rothwell <sfr@canb.auug.org.au> Date: Thu, 24 Jul 2014 12:32:49 +1000 Subject: [PATCH] mac80211: fix for code movement Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> --- net/mac80211/sta_info.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c index f41177f58b30..c6ee2139fbc5 100644 --- a/net/mac80211/sta_info.c +++ b/net/mac80211/sta_info.c @@ -1724,12 +1724,15 @@ void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo) { struct ieee80211_sub_if_data *sdata = sta->sdata; struct ieee80211_local *local = sdata->local; - struct rate_control_ref *ref = local->rate_ctrl; + struct rate_control_ref *ref = NULL; struct timespec uptime; u64 packets = 0; u32 thr = 0; int i, ac; + if (test_sta_flag(sta, WLAN_STA_RATE_CONTROL)) + ref = local->rate_ctrl; + sinfo->generation = sdata->local->sta_generation; sinfo->filled = STATION_INFO_INACTIVE_TIME | -- 2.0.1 -- Cheers, Stephen Rothwell sfr@canb.auug.org.au [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 819 bytes --]
next reply other threads:[~2014-07-24 2:47 UTC|newest] Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-07-24 2:47 Stephen Rothwell [this message] 2014-07-24 2:47 ` linux-next: manual merge of the net-next tree with the wireless tree Stephen Rothwell -- strict thread matches above, loose matches on Subject: below -- 2023-10-24 0:24 Stephen Rothwell 2023-10-12 0:37 Stephen Rothwell 2023-10-12 8:10 ` Johannes Berg 2023-10-19 21:40 ` Jakub Kicinski 2023-10-20 5:49 ` Johannes Berg 2014-07-23 2:00 Stephen Rothwell 2014-07-23 2:00 ` Stephen Rothwell 2014-05-23 3:45 Stephen Rothwell 2014-05-23 3:45 ` Stephen Rothwell 2014-02-26 3:21 Stephen Rothwell 2014-02-26 3:21 ` Stephen Rothwell 2014-02-21 2:34 Stephen Rothwell 2014-02-21 2:34 ` Stephen Rothwell 2013-09-27 3:03 Stephen Rothwell 2013-09-27 3:03 ` Stephen Rothwell 2013-08-27 4:10 Stephen Rothwell 2013-08-27 4:10 ` Stephen Rothwell 2013-04-04 0:44 Stephen Rothwell 2013-04-04 0:44 ` Stephen Rothwell 2013-05-02 3:19 ` Stephen Rothwell 2013-05-02 3:19 ` Stephen Rothwell 2013-04-02 2:00 Stephen Rothwell 2013-04-02 2:00 ` Stephen Rothwell 2013-04-02 9:30 ` Samuel Ortiz 2013-03-26 0:51 Stephen Rothwell 2013-03-26 0:51 ` Stephen Rothwell 2013-03-26 0:48 Stephen Rothwell 2013-03-26 0:48 ` Stephen Rothwell 2012-07-03 1:44 Stephen Rothwell 2012-07-03 1:44 ` Stephen Rothwell 2012-07-03 2:33 ` John W. Linville 2012-06-14 3:12 Stephen Rothwell 2012-06-14 3:12 ` Stephen Rothwell 2012-06-14 4:50 ` Mohammed Shafi Shajakhan 2012-06-14 4:50 ` Mohammed Shafi Shajakhan 2012-06-14 12:59 ` John W. Linville 2012-05-04 3:21 Stephen Rothwell 2012-05-04 3:21 ` Stephen Rothwell 2012-05-04 4:35 ` Guy, Wey-Yi 2012-02-16 1:40 Stephen Rothwell 2012-02-16 1:40 ` Stephen Rothwell 2012-02-16 1:37 Stephen Rothwell 2012-02-16 1:37 ` Stephen Rothwell 2011-12-20 2:02 Stephen Rothwell 2011-12-20 2:02 ` Stephen Rothwell 2011-12-15 2:53 Stephen Rothwell 2011-12-15 2:53 ` Stephen Rothwell 2011-12-15 3:16 ` Stephen Rothwell 2011-12-15 3:16 ` Stephen Rothwell
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=20140724124700.602081e7@canb.auug.org.au \ --to=sfr@canb.auug.org.au \ --cc=davem@davemloft.net \ --cc=johannes.berg@intel.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-next@vger.kernel.org \ --cc=linville@tuxdriver.com \ --cc=nbd@openwrt.org \ --cc=netdev@vger.kernel.org \ /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: linkBe 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.