tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 6d9bd4ad4ca08b1114e814c2c42383b8b13be631
commit: 7cf800f46e07e6b75a43036c4389d6ca717fd017 [3193/5417] iwlwifi: mvm: don't feed
the hardware RFKILL into iwlmei
config: alpha-randconfig-r036-20220213
(
https://download.01.org/0day-ci/archive/20220214/202202140357.Oj3wjGCz-lk...)
compiler: alpha-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 7cf800f46e07e6b75a43036c4389d6ca717fd017
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=alpha SHELL=/bin/bash drivers/net/wireless/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/net/wireless/intel/iwlwifi/mvm/scan.c:11:
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h: In function
'iwl_mvm_mei_set_sw_rfkill_state':
> drivers/net/wireless/intel/iwlwifi/mvm/mvm.h:2228:38: error:
implicit declaration of function 'rfkill_soft_blocked'; did you mean
'rfkill_blocked'? [-Werror=implicit-function-declaration]
2228 |
mvm->hw_registered ? rfkill_soft_blocked(mvm->hw->wiphy->rfkill) :
false;
| ^~~~~~~~~~~~~~~~~~~
| rfkill_blocked
cc1: some warnings being treated as errors
vim +2228 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
2224
2225 static inline void iwl_mvm_mei_set_sw_rfkill_state(struct iwl_mvm *mvm)
2226 {
2227 bool sw_rfkill =
2228 mvm->hw_registered ?
rfkill_soft_blocked(mvm->hw->wiphy->rfkill) : false;
2229
2230 if (mvm->mei_registered)
2231 iwl_mei_set_rfkill_state(iwl_mvm_is_radio_killed(mvm),
2232 sw_rfkill);
2233 }
2234
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org