[andersson:wip/sc8180x-next-20220502 6/29] dp_hpd.c:undefined reference to `typec_mux_unregister'

From: kernel test robot
Date: Wed May 04 2022 - 03:33:31 EST


tree: https://github.com/andersson/kernel wip/sc8180x-next-20220502
head: 6199153320a3b7d1dce23ad1ea4d894a86793cb6
commit: be6e31f126bed33f684250905b79d76f7664d985 [6/29] drm/msm/dp: Add typec_mux implementation
config: openrisc-randconfig-r024-20220501 (https://download.01.org/0day-ci/archive/20220504/202205041521.5SKLbNky-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/be6e31f126bed33f684250905b79d76f7664d985
git remote add andersson https://github.com/andersson/kernel
git fetch --no-tags andersson wip/sc8180x-next-20220502
git checkout be6e31f126bed33f684250905b79d76f7664d985
# 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/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