From: kernel test robot <lkp@intel.com>
To: Ajay.Kathat@microchip.com, linux-wireless@vger.kernel.org
Cc: kbuild-all@lists.01.org, Claudiu.Beznea@microchip.com,
Sripad.Balwadgi@microchip.com, Ajay.Kathat@microchip.com
Subject: Re: [PATCH 3/4] wilc1000: add WPA3 SAE support
Date: Sat, 14 May 2022 14:48:22 +0800 [thread overview]
Message-ID: <202205141457.gyZ6XGV0-lkp@intel.com> (raw)
In-Reply-To: <20220513171741.26701-3-ajay.kathat@microchip.com>
Hi,
I love your patch! Perhaps something to improve:
[auto build test WARNING on wireless-next/main]
[also build test WARNING on wireless/main v5.18-rc6 next-20220513]
[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]
url: https://github.com/intel-lab-lkp/linux/commits/Ajay-Kathat-microchip-com/wilc1000-use-correct-sequence-of-RESET-for-chip-Power-UP-Down/20220514-011943
base: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main
config: alpha-allmodconfig (https://download.01.org/0day-ci/archive/20220514/202205141457.gyZ6XGV0-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 11.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/cd10e5eab42df173c299af63e2f50308bbf0f27e
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Ajay-Kathat-microchip-com/wilc1000-use-correct-sequence-of-RESET-for-chip-Power-UP-Down/20220514-011943
git checkout cd10e5eab42df173c299af63e2f50308bbf0f27e
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash drivers/clk/mediatek/ drivers/net/wireless/microchip/wilc1000/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/net/wireless/microchip/wilc1000/netdev.c: In function 'wilc_wfi_mgmt_rx':
>> drivers/net/wireless/microchip/wilc1000/netdev.c:845:35: warning: variable 'priv' set but not used [-Wunused-but-set-variable]
845 | struct wilc_priv *priv;
| ^~~~
vim +/priv +845 drivers/net/wireless/microchip/wilc1000/netdev.c
837
838 void wilc_wfi_mgmt_rx(struct wilc *wilc, u8 *buff, u32 size, bool is_auth)
839 {
840 int srcu_idx;
841 struct wilc_vif *vif;
842
843 srcu_idx = srcu_read_lock(&wilc->srcu);
844 list_for_each_entry_rcu(vif, &wilc->vif_list, list) {
> 845 struct wilc_priv *priv;
846 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)buff;
847 u16 type = le16_to_cpup((__le16 *)buff);
848 u32 type_bit = BIT(type >> 4);
849 u32 auth_bit = BIT(IEEE80211_STYPE_AUTH >> 4);
850
851 priv = &vif->priv;
852 if ((vif->mgmt_reg_stypes & auth_bit &&
853 ieee80211_is_auth(mgmt->frame_control)) &&
854 vif->iftype == WILC_STATION_MODE && is_auth) {
855 wilc_wfi_mgmt_frame_rx(vif, buff, size);
856 break;
857 }
858
859 if (vif->priv.p2p_listen_state &&
860 vif->mgmt_reg_stypes & type_bit)
861 wilc_wfi_p2p_rx(vif, buff, size);
862
863 if (vif->monitor_flag)
864 wilc_wfi_monitor_rx(wilc->monitor_dev, buff, size);
865 }
866 srcu_read_unlock(&wilc->srcu, srcu_idx);
867 }
868
--
0-DAY CI Kernel Test Service
https://01.org/lkp
prev parent reply other threads:[~2022-05-14 6:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-13 17:17 [PATCH 1/4] wilc1000: use correct sequence of RESET for chip Power-UP/Down Ajay.Kathat
2022-05-13 17:17 ` [PATCH 2/4] wilc1000: remove WEP security support Ajay.Kathat
2022-05-13 17:17 ` [PATCH 4/4] wilc1000: add IGTK support Ajay.Kathat
2022-05-13 17:17 ` [PATCH 3/4] wilc1000: add WPA3 SAE support Ajay.Kathat
2022-05-14 6:48 ` 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=202205141457.gyZ6XGV0-lkp@intel.com \
--to=lkp@intel.com \
--cc=Ajay.Kathat@microchip.com \
--cc=Claudiu.Beznea@microchip.com \
--cc=Sripad.Balwadgi@microchip.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-wireless@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: 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