mtk_mdp_comp.c:undefined reference to `mtk_smi_larb_get'

From: kernel test robot
Date: Sat Feb 27 2021 - 18:41:41 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 5695e51619745d4fe3ec2506a2f0cd982c5e27a4
commit: 50fc8d9232cdc64b9e9d1b9488452f153de52b69 memory: mtk-smi: Allow building as module
date: 5 weeks ago
config: openrisc-randconfig-r004-20210228 (attached as .config)
compiler: or1k-linux-gcc (GCC) 9.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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=50fc8d9232cdc64b9e9d1b9488452f153de52b69
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 50fc8d9232cdc64b9e9d1b9488452f153de52b69
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc

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/media/platform/mtk-mdp/mtk_mdp_comp.o: in function `mtk_mdp_comp_clock_on':
>> mtk_mdp_comp.c:(.text+0x38): undefined reference to `mtk_smi_larb_get'
mtk_mdp_comp.c:(.text+0x38): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `mtk_smi_larb_get'
or1k-linux-ld: drivers/media/platform/mtk-mdp/mtk_mdp_comp.o: in function `mtk_mdp_comp_clock_off':
>> mtk_mdp_comp.c:(.text+0x1e4): undefined reference to `mtk_smi_larb_put'
mtk_mdp_comp.c:(.text+0x1e4): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `mtk_smi_larb_put'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip