[andersson:wip/sc8180x-next-20220301 6/27] phy-qcom-qmp.c:undefined reference to `typec_switch_get_drvdata'
From: kernel test robot
Date: Sat Mar 26 2022 - 07:56:34 EST
tree: https://github.com/andersson/kernel wip/sc8180x-next-20220301
head: 0289eb1e5447f549241a40b2a0742a796467ecd8
commit: 2b468636da740585f10846641a44f7f8c1ce89c3 [6/27] phy: qcom-qmp: Register as a typec switch for orientation detection
config: arc-buildonly-randconfig-r002-20220325 (https://download.01.org/0day-ci/archive/20220326/202203261950.GxOlPtmS-lkp@xxxxxxxxx/config)
compiler: arc-elf-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://github.com/andersson/kernel/commit/2b468636da740585f10846641a44f7f8c1ce89c3
git remote add andersson https://github.com/andersson/kernel
git fetch --no-tags andersson wip/sc8180x-next-20220301
git checkout 2b468636da740585f10846641a44f7f8c1ce89c3
# 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=arc SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
arc-elf-ld: drivers/phy/qualcomm/phy-qcom-qmp.o: in function `qcom_qmp_phy_typec_switch_set':
>> phy-qcom-qmp.c:(.text+0xf04): undefined reference to `typec_switch_get_drvdata'
>> arc-elf-ld: phy-qcom-qmp.c:(.text+0xf04): undefined reference to `typec_switch_get_drvdata'
arc-elf-ld: drivers/phy/qualcomm/phy-qcom-qmp.o: in function `qcom_qmp_phy_probe':
>> phy-qcom-qmp.c:(.text+0x188c): undefined reference to `typec_switch_register'
>> arc-elf-ld: phy-qcom-qmp.c:(.text+0x188c): undefined reference to `typec_switch_register'
--
0-DAY CI Kernel Test Service
https://01.org/lkp