From: kernel test robot <lkp@intel.com>
To: venkatch@gmail.com, johannes@sipsolutions.net
Cc: kbuild-all@lists.01.org, linux-wireless@vger.kernel.org,
victorg@ti.com, Venkat Chimata <venkata@shasta.cloud>
Subject: Re: [PATCH] wifi: mac80211: Fix performance issue with mutex_lock
Date: Thu, 15 Sep 2022 02:29:16 +0800 [thread overview]
Message-ID: <202209150235.Rz3KTMbf-lkp@intel.com> (raw)
In-Reply-To: <20220914110934.617430-1-venkatch@gmail.com>
Hi,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on wireless-next/main]
[also build test WARNING on wireless/main linus/master v6.0-rc5 next-20220914]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/venkatch-gmail-com/wifi-mac80211-Fix-performance-issue-with-mutex_lock/20220914-191154
base: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220915/202209150235.Rz3KTMbf-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/intel-lab-lkp/linux/commit/1d98b164c14462b445f932d0183b56ee716e1c41
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review venkatch-gmail-com/wifi-mac80211-Fix-performance-issue-with-mutex_lock/20220914-191154
git checkout 1d98b164c14462b445f932d0183b56ee716e1c41
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash net/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
net/mac80211/cfg.c: In function 'ieee80211_dump_station':
>> net/mac80211/cfg.c:858:33: warning: unused variable 'local' [-Wunused-variable]
858 | struct ieee80211_local *local = sdata->local;
| ^~~~~
vim +/local +858 net/mac80211/cfg.c
6b62bf326393de Thomas Pedersen 2012-03-05 853
c5dd9c2bd0b242 Luis Carlos Cobo 2008-02-23 854 static int ieee80211_dump_station(struct wiphy *wiphy, struct net_device *dev,
c5dd9c2bd0b242 Luis Carlos Cobo 2008-02-23 855 int idx, u8 *mac, struct station_info *sinfo)
c5dd9c2bd0b242 Luis Carlos Cobo 2008-02-23 856 {
3b53fde8ac40c4 Johannes Berg 2009-11-16 857 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);
66572cfc30a4b7 Victor Goldenshtein 2012-06-21 @858 struct ieee80211_local *local = sdata->local;
c5dd9c2bd0b242 Luis Carlos Cobo 2008-02-23 859 struct sta_info *sta;
d0709a65181beb Johannes Berg 2008-02-25 860 int ret = -ENOENT;
c5dd9c2bd0b242 Luis Carlos Cobo 2008-02-23 861
1d98b164c14462 Venkat Chimata 2022-09-14 862 rcu_read_lock();
3b53fde8ac40c4 Johannes Berg 2009-11-16 863 sta = sta_info_get_by_idx(sdata, idx);
d0709a65181beb Johannes Berg 2008-02-25 864 if (sta) {
d0709a65181beb Johannes Berg 2008-02-25 865 ret = 0;
17741cdc264e4d Johannes Berg 2008-09-11 866 memcpy(mac, sta->sta.addr, ETH_ALEN);
0fdf1493b41eb6 Johannes Berg 2018-05-18 867 sta_set_sinfo(sta, sinfo, true);
d0709a65181beb Johannes Berg 2008-02-25 868 }
1d98b164c14462 Venkat Chimata 2022-09-14 869 rcu_read_unlock();
d0709a65181beb Johannes Berg 2008-02-25 870
d0709a65181beb Johannes Berg 2008-02-25 871 return ret;
c5dd9c2bd0b242 Luis Carlos Cobo 2008-02-23 872 }
c5dd9c2bd0b242 Luis Carlos Cobo 2008-02-23 873
--
0-DAY CI Kernel Test Service
https://01.org/lkp
prev parent reply other threads:[~2022-09-14 18:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-14 11:09 [PATCH] wifi: mac80211: Fix performance issue with mutex_lock venkatch
2022-09-14 18:29 ` kernel test robot [this message]
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=202209150235.Rz3KTMbf-lkp@intel.com \
--to=lkp@intel.com \
--cc=johannes@sipsolutions.net \
--cc=kbuild-all@lists.01.org \
--cc=linux-wireless@vger.kernel.org \
--cc=venkata@shasta.cloud \
--cc=venkatch@gmail.com \
--cc=victorg@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox