tree:
git://github.com/kvm-riscv/linux.git riscv_kvm_master
head: b9a6e4cd9f1f18c4c5d95ea04f6a8bb119581e8e
commit: dfb01e7750400c9faa6ce08645fdb8b369dd041c [4/31] RISC-V: Add basic support for SBI
v0.2
config: riscv-allnoconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 7.5.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 dfb01e7750400c9faa6ce08645fdb8b369dd041c
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/riscv/kernel/setup.c: In function 'setup_arch':
> arch/riscv/kernel/setup.c:78:2: error: implicit declaration of
function 'sbi_init'; did you mean 'smp_init'?
[-Werror=implicit-function-declaration]
sbi_init();
^~~~~~~~
smp_init
cc1: some warnings being treated as errors
vim +78 arch/riscv/kernel/setup.c
77
78 sbi_init();
79 #ifdef CONFIG_SMP
80 setup_smp();
81 #endif
82
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation