Re: [PATCH v6 1/5] clk: sifive: Extract prci core to common base

From: kernel test robot
Date: Wed Dec 09 2020 - 06:06:30 EST


Hi Zong,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on clk/clk-next]
[also build test ERROR on robh/for-next linux/master linus/master v5.10-rc7 next-20201208]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url: https://github.com/0day-ci/linux/commits/Zong-Li/clk-add-driver-for-the-SiFive-FU740/20201208-151711
base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
config: riscv-randconfig-r006-20201208 (attached as .config)
compiler: riscv32-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://github.com/0day-ci/linux/commit/5bfdddc125b80d4541a5a925918efec9b6fe0282
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Zong-Li/clk-add-driver-for-the-SiFive-FU740/20201208-151711
git checkout 5bfdddc125b80d4541a5a925918efec9b6fe0282
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

riscv32-linux-ld: drivers/clk/sifive/sifive-prci.o: in function `.L36':
sifive-prci.c:(.text+0x67c): undefined reference to `wrpll_calc_output_rate'
riscv32-linux-ld: drivers/clk/sifive/sifive-prci.o: in function `sifive_prci_wrpll_round_rate':
sifive-prci.c:(.text+0x728): undefined reference to `wrpll_configure_for_rate'
riscv32-linux-ld: sifive-prci.c:(.text+0x754): undefined reference to `wrpll_calc_output_rate'
>> riscv32-linux-ld: sifive-prci.c:(.text+0x7f4): undefined reference to `wrpll_configure_for_rate'
riscv32-linux-ld: drivers/clk/sifive/sifive-prci.o: in function `.L48':
>> sifive-prci.c:(.text+0x8e4): undefined reference to `wrpll_calc_max_lock_us'
riscv32-linux-ld: drivers/clk/sifive/sifive-prci.o:(.srodata+0x8): undefined reference to `__prci_init_clocks_fu540'

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

Attachment: .config.gz
Description: application/gzip