[kvalo-ath:pending 50/51] drivers/net/wireless/ath/ath11k/testmode.h:19: multiple definition of `ath11k_tm_wmi_event'; drivers/net/wireless/ath/ath11k/wmi.o:drivers/net/wireless/ath/ath11k/testmode.h:19: first defined here
kernel test robot
lkp at intel.com
Fri May 12 07:26:42 PDT 2023
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
head: 229ea354bdd24bf3c33c9447674fab8d609e24a2
commit: f3d1f7ae115e12108ba7d7fa0ea6374b9e28869c [50/51] wifi: ath11k: factory test mode support
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20230512/202305122213.1eOA66xV-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.1.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/kvalo/ath.git/commit/?id=f3d1f7ae115e12108ba7d7fa0ea6374b9e28869c
git remote add kvalo-ath https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
git fetch --no-tags kvalo-ath pending
git checkout f3d1f7ae115e12108ba7d7fa0ea6374b9e28869c
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp at intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202305122213.1eOA66xV-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
aarch64-linux-ld: drivers/net/wireless/ath/ath11k/mac.o: in function `ath11k_tm_wmi_event':
>> drivers/net/wireless/ath/ath11k/testmode.h:19: multiple definition of `ath11k_tm_wmi_event'; drivers/net/wireless/ath/ath11k/wmi.o:drivers/net/wireless/ath/ath11k/testmode.h:19: first defined here
--
In file included from drivers/net/wireless/ath/ath11k/wmi.c:22:
>> drivers/net/wireless/ath/ath11k/testmode.h:17:6: warning: no previous prototype for 'ath11k_tm_wmi_event' [-Wmissing-prototypes]
17 | void ath11k_tm_wmi_event(struct ath11k_base *ab, u32 cmd_id, struct sk_buff *skb)
| ^~~~~~~~~~~~~~~~~~~
vim +19 drivers/net/wireless/ath/ath11k/testmode.h
d5c65159f28953 Kalle Valo 2019-11-23 16
f3d1f7ae115e12 Govindaraj Saminathan 2023-05-12 @17 void ath11k_tm_wmi_event(struct ath11k_base *ab, u32 cmd_id, struct sk_buff *skb)
d5c65159f28953 Kalle Valo 2019-11-23 18 {
d5c65159f28953 Kalle Valo 2019-11-23 @19 }
d5c65159f28953 Kalle Valo 2019-11-23 20
:::::: The code at line 19 was first introduced by commit
:::::: d5c65159f2895379e11ca13f62feabe93278985d ath11k: driver for Qualcomm IEEE 802.11ax devices
:::::: TO: Kalle Valo <kvalo at codeaurora.org>
:::::: CC: Kalle Valo <kvalo at codeaurora.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
More information about the ath10k
mailing list