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

From: kernel test robot
Date: Tue Dec 08 2020 - 07:29:40 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-20201207]
[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: x86_64-randconfig-s021-20201208 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-179-ga00755aa-dirty
# 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
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64

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

All errors (new ones prefixed by >>):

ld: drivers/clk/sifive/sifive-prci.o: in function `sifive_prci_wrpll_recalc_rate':
sifive-prci.c:(.text+0x131): undefined reference to `wrpll_calc_output_rate'
ld: drivers/clk/sifive/sifive-prci.o: in function `sifive_prci_wrpll_round_rate':
sifive-prci.c:(.text+0x230): undefined reference to `wrpll_configure_for_rate'
>> ld: sifive-prci.c:(.text+0x253): undefined reference to `wrpll_calc_output_rate'
ld: drivers/clk/sifive/sifive-prci.o: in function `sifive_prci_wrpll_set_rate':
sifive-prci.c:(.text+0x326): undefined reference to `wrpll_configure_for_rate'
>> ld: sifive-prci.c:(.text+0x49a): undefined reference to `wrpll_calc_max_lock_us'
>> ld: drivers/clk/sifive/sifive-prci.o:(.rodata+0x2a0): 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