tree:
https://github.com/afaerber/linux.git rtd1295-next
head: 8321ba5bf0a649f9161f8191ed350375c37b1e6b
commit: 13d7e7467c2e65fa01c76ae5c6f9e93364e0668d [98/166] regulator: Add GMT G2227 driver
config: riscv-allmodconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 13d7e7467c2e65fa01c76ae5c6f9e93364e0668d
# save the attached .config to linux build tree
GCC_VERSION=9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
riscv64-linux-ld: drivers/regulator/g2227.o: in function `.L0 ':
g2227.c:(.text+0x7c): undefined reference to `__devm_regmap_init_i2c'
> riscv64-linux-ld: g2227.c:(.init.text+0x1c): undefined reference
to `i2c_register_driver'
> riscv64-linux-ld: g2227.c:(.exit.text+0x10): undefined reference to
`i2c_del_driver'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org