[andersson:wip/sc8180x-next-20220502 7/29] phy-qcom-qmp.c:undefined reference to `typec_switch_get_drvdata'
From: kernel test robot
Date: Wed May 04 2022 - 05:25:24 EST
tree: https://github.com/andersson/kernel wip/sc8180x-next-20220502
head: 6199153320a3b7d1dce23ad1ea4d894a86793cb6
commit: 5cc3b17921dda08e833aa7933dc2da40d7e47b43 [7/29] phy: qcom-qmp: Register as a typec switch for orientation detection
config: openrisc-randconfig-r024-20220501 (https://download.01.org/0day-ci/archive/20220504/202205041734.dMEFSXWf-lkp@xxxxxxxxx/config)
compiler: or1k-linux-gcc (GCC) 11.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/5cc3b17921dda08e833aa7933dc2da40d7e47b43
git remote add andersson https://github.com/andersson/kernel
git fetch --no-tags andersson wip/sc8180x-next-20220502
git checkout 5cc3b17921dda08e833aa7933dc2da40d7e47b43
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=openrisc 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 >>):
or1k-linux-ld: drivers/phy/qualcomm/phy-qcom-qmp.o: in function `qcom_qmp_phy_typec_switch_set':
>> phy-qcom-qmp.c:(.text+0x470): undefined reference to `typec_switch_get_drvdata'
phy-qcom-qmp.c:(.text+0x470): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `typec_switch_get_drvdata'
or1k-linux-ld: drivers/phy/qualcomm/phy-qcom-qmp.o: in function `qcom_qmp_phy_probe':
>> phy-qcom-qmp.c:(.text+0x119c): undefined reference to `typec_switch_register'
phy-qcom-qmp.c:(.text+0x119c): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `typec_switch_register'
or1k-linux-ld: drivers/gpu/drm/msm/dp/dp_hpd.o: in function `dp_hpd_unregister_typec_mux':
dp_hpd.c:(.text+0xc): undefined reference to `typec_mux_unregister'
dp_hpd.c:(.text+0xc): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `typec_mux_unregister'
or1k-linux-ld: drivers/gpu/drm/msm/dp/dp_hpd.o: in function `dp_hpd_mux_set':
dp_hpd.c:(.text+0x38): undefined reference to `typec_mux_get_drvdata'
dp_hpd.c:(.text+0x38): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `typec_mux_get_drvdata'
or1k-linux-ld: drivers/gpu/drm/msm/dp/dp_hpd.o: in function `dp_hpd_get':
dp_hpd.c:(.text+0x268): undefined reference to `typec_mux_register'
dp_hpd.c:(.text+0x268): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `typec_mux_register'
or1k-linux-ld: dp_hpd.c:(.text+0x2c8): undefined reference to `typec_mux_unregister'
dp_hpd.c:(.text+0x2c8): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `typec_mux_unregister'
`.exit.text' referenced in section `.data' of sound/soc/codecs/tlv320adc3xxx.o: defined in discarded section `.exit.text' of sound/soc/codecs/tlv320adc3xxx.o
--
0-DAY CI Kernel Test Service
https://01.org/lkp