tree: https://github.com/andersson/kernel wip/sc8180x-next-20210721 head: e4b70f88ad1f737b862d902899268392e5262f62 commit: 2ad96e4b9b0866b6b1bd800862bb4c87594afcc5 [45/70] phy: qcom-qmp: Register as a typec switch for orientation detection config: riscv-buildonly-randconfig-r002-20210728 (attached as .config) compiler: riscv64-linux-gcc (GCC) 10.3.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/2ad96e4b9b0866b6b1bd800862bb4c87594afcc5 git remote add andersson-kernel https://github.com/andersson/kernel git fetch --no-tags andersson-kernel wip/sc8180x-next-20210721 git checkout 2ad96e4b9b0866b6b1bd800862bb4c87594afcc5 # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=riscv SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): riscv64-linux-ld: drivers/phy/qualcomm/phy-qcom-qmp.o: in function `qcom_qmp_phy_typec_switch_set': >> phy-qcom-qmp.c:(.text+0x83a): undefined reference to `typec_switch_get_drvdata' riscv64-linux-ld: drivers/phy/qualcomm/phy-qcom-qmp.o: in function `.L355': >> phy-qcom-qmp.c:(.text+0x28de): undefined reference to `typec_switch_register' --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org