tree:
git://github.com/kvm-riscv/linux.git riscv_kvm_master
head: 36e7b3ba5f5456ef4f2d7989b06c4f1fea368e6f
commit: b58d6e216092eadb0679aea8043c7ba7584a0802 [5/21] RISC-V: Add initial skeletal KVM
support
config: riscv-allmodconfig (attached as .config)
compiler: riscv64-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
git checkout b58d6e216092eadb0679aea8043c7ba7584a0802
# 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(a)intel.com>
All errors (new ones prefixed by >>):
> error: arch/riscv/include/uapi/asm/kvm.h: missing "WITH
Linux-syscall-note" for SPDX-License-Identifier
make[2]: ***
[scripts/Makefile.headersinst:63: usr/include/asm/kvm.h] Error 1
make[2]: Target '__headers' not remade because of errors.
make[1]: *** [Makefile:1259: headers] Error 2
arch/riscv/kernel/asm-offsets.c:14:6: warning: no previous prototype for
'asm_offsets' [-Wmissing-prototypes]
14 | void asm_offsets(void)
| ^~~~~~~~~~~
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org