[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202111190031.U5H7J6W3-lkp@intel.com>
Date: Fri, 19 Nov 2021 00:53:41 +0800
From: kernel test robot <lkp@...el.com>
To: Seevalamuthu Mariappan <seevalam@...eaurora.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org, Kalle Valo <kvalo@...eaurora.org>,
Miles Hu <milehu@...eaurora.org>,
Vasanthakumar Thiagarajan <vthiagar@...eaurora.org>,
Jouni Malinen <jouni@...eaurora.org>
Subject: drivers/net/wireless/ath/ath11k/mac.c:5408:22: warning: parameter
'changed_flags' set but not used
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 42eb8fdac2fc5d62392dcfcf0253753e821a97b0
commit: 689a5e6fff75229ac7c2af7a9c51dc2d3ca1882b ath11k: monitor mode clean up to use separate APIs
date: 8 weeks ago
config: x86_64-randconfig-a006-20211118 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c46becf500df2a7fb4b4fce16178a036c344315a)
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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=689a5e6fff75229ac7c2af7a9c51dc2d3ca1882b
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 689a5e6fff75229ac7c2af7a9c51dc2d3ca1882b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/net/wireless/ath/ath11k/mac.c:5408:22: warning: parameter 'changed_flags' set but not used [-Wunused-but-set-parameter]
unsigned int changed_flags,
^
1 warning generated.
vim +/changed_flags +5408 drivers/net/wireless/ath/ath11k/mac.c
d5c65159f28953 Kalle Valo 2019-11-23 5396
d5c65159f28953 Kalle Valo 2019-11-23 5397 /* FIXME: Has to be verified. */
d5c65159f28953 Kalle Valo 2019-11-23 5398 #define SUPPORTED_FILTERS \
d5c65159f28953 Kalle Valo 2019-11-23 5399 (FIF_ALLMULTI | \
d5c65159f28953 Kalle Valo 2019-11-23 5400 FIF_CONTROL | \
d5c65159f28953 Kalle Valo 2019-11-23 5401 FIF_PSPOLL | \
d5c65159f28953 Kalle Valo 2019-11-23 5402 FIF_OTHER_BSS | \
d5c65159f28953 Kalle Valo 2019-11-23 5403 FIF_BCN_PRBRESP_PROMISC | \
d5c65159f28953 Kalle Valo 2019-11-23 5404 FIF_PROBE_REQ | \
d5c65159f28953 Kalle Valo 2019-11-23 5405 FIF_FCSFAIL)
d5c65159f28953 Kalle Valo 2019-11-23 5406
d5c65159f28953 Kalle Valo 2019-11-23 5407 static void ath11k_mac_op_configure_filter(struct ieee80211_hw *hw,
d5c65159f28953 Kalle Valo 2019-11-23 @5408 unsigned int changed_flags,
d5c65159f28953 Kalle Valo 2019-11-23 5409 unsigned int *total_flags,
d5c65159f28953 Kalle Valo 2019-11-23 5410 u64 multicast)
d5c65159f28953 Kalle Valo 2019-11-23 5411 {
d5c65159f28953 Kalle Valo 2019-11-23 5412 struct ath11k *ar = hw->priv;
d5c65159f28953 Kalle Valo 2019-11-23 5413
d5c65159f28953 Kalle Valo 2019-11-23 5414 mutex_lock(&ar->conf_mutex);
d5c65159f28953 Kalle Valo 2019-11-23 5415
d5c65159f28953 Kalle Valo 2019-11-23 5416 changed_flags &= SUPPORTED_FILTERS;
d5c65159f28953 Kalle Valo 2019-11-23 5417 *total_flags &= SUPPORTED_FILTERS;
d5c65159f28953 Kalle Valo 2019-11-23 5418 ar->filter_flags = *total_flags;
d5c65159f28953 Kalle Valo 2019-11-23 5419
d5c65159f28953 Kalle Valo 2019-11-23 5420 mutex_unlock(&ar->conf_mutex);
d5c65159f28953 Kalle Valo 2019-11-23 5421 }
d5c65159f28953 Kalle Valo 2019-11-23 5422
:::::: The code at line 5408 was first introduced by commit
:::::: d5c65159f2895379e11ca13f62feabe93278985d ath11k: driver for Qualcomm IEEE 802.11ax devices
:::::: TO: Kalle Valo <kvalo@...eaurora.org>
:::::: CC: Kalle Valo <kvalo@...eaurora.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (34707 bytes)
Powered by blists - more mailing lists