[andersson:wip/sc8180x-next-20211015 24/61] phy-qcom-qmp.c:undefined reference to `typec_switch_get_drvdata'
From: kernel test robot
Date: Thu Oct 28 2021 - 00:01:30 EST
tree: https://github.com/andersson/kernel wip/sc8180x-next-20211015
head: 05163e0a8999f011f055a2a0e4d094841b55bc1e
commit: 982f953459d87071a976401bd50e2e2d8ea34cc2 [24/61] phy: qcom-qmp: Register as a typec switch for orientation detection
config: arc-randconfig-r043-20211027 (attached as .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/982f953459d87071a976401bd50e2e2d8ea34cc2
git remote add andersson https://github.com/andersson/kernel
git fetch --no-tags andersson wip/sc8180x-next-20211015
git checkout 982f953459d87071a976401bd50e2e2d8ea34cc2
# save the attached .config 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+0x544): undefined reference to `typec_switch_get_drvdata'
>> arc-elf-ld: phy-qcom-qmp.c:(.text+0x544): 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+0x16a6): undefined reference to `typec_switch_register'
>> arc-elf-ld: phy-qcom-qmp.c:(.text+0x16a6): undefined reference to `typec_switch_register'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip