linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 3193/5417] drivers/net/wireless/intel/iwlwifi/mvm/mvm.h:2228:38: error: implicit declaration of function 'rfkill_soft_blocked'; did you mean 'rfkill_blocked'?
@ 2022-02-13 19:09 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-02-13 19:09 UTC (permalink / raw)
  To: Emmanuel Grumbach
  Cc: kbuild-all, Linux Memory Management List, Kalle Valo, Luca Coelho

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-lkp@intel.com/config)
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/commit/?id=7cf800f46e07e6b75a43036c4389d6ca717fd017
        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@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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-13 19:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-13 19:09 [linux-next:master 3193/5417] drivers/net/wireless/intel/iwlwifi/mvm/mvm.h:2228:38: error: implicit declaration of function 'rfkill_soft_blocked'; did you mean 'rfkill_blocked'? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox