[clk:clk-mediatek 5/62] clk-mt8173-apmixedsys.c:undefined reference to `mtk_clk_unregister_pllfhs'

kernel test robot lkp at intel.com
Sat Mar 18 05:27:31 PDT 2023


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-mediatek
head:   eddc63094855f411455db85b77eb8439201dc779
commit: 45a5cbe05d1f562b24db8ce67bd1bb3a3a9ec425 [5/62] clk: mediatek: mt8173: Add support for frequency hopping through FHCTL
config: riscv-randconfig-r042-20230312 (https://download.01.org/0day-ci/archive/20230318/202303182019.n5idhG3T-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 12.1.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/clk/linux.git/commit/?id=45a5cbe05d1f562b24db8ce67bd1bb3a3a9ec425
        git remote add clk https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git
        git fetch --no-tags clk clk-mediatek
        git checkout 45a5cbe05d1f562b24db8ce67bd1bb3a3a9ec425
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=riscv olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp at intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303182019.n5idhG3T-lkp@intel.com/

All errors (new ones prefixed by >>):

   riscv64-linux-ld: drivers/clk/mediatek/clk-mt8173-apmixedsys.o: in function `clk_mt8173_apmixed_remove':
>> clk-mt8173-apmixedsys.c:(.text+0x32): undefined reference to `mtk_clk_unregister_pllfhs'
   riscv64-linux-ld: drivers/clk/mediatek/clk-mt8173-apmixedsys.o: in function `clk_mt8173_apmixed_probe':
>> clk-mt8173-apmixedsys.c:(.text+0xa0): undefined reference to `fhctl_parse_dt'
>> riscv64-linux-ld: clk-mt8173-apmixedsys.c:(.text+0xba): undefined reference to `mtk_clk_register_pllfhs'
>> riscv64-linux-ld: clk-mt8173-apmixedsys.c:(.text+0x16c): undefined reference to `mtk_clk_unregister_pllfhs'

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests



More information about the linux-arm-kernel mailing list