* [arm-platforms:kvm-arm64/nv-5.16 6/71] arch/arm64/include/asm/kvm_host.h:67:70: error: expected ';' after return statement
@ 2021-11-29 6:18 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-29 6:18 UTC (permalink / raw)
To: Jintack Lim
Cc: llvm, kbuild-all, linux-arm-kernel, Marc Zyngier, Andre Przywara,
Christoffer Dall
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/nv-5.16
head: d1c6ee383658b3b9a258a7542b634c1f9fc6ccf7
commit: db7c6e1049220a0a330cd5234497a51f438a5814 [6/71] arm64: Add ARM64_HAS_NESTED_VIRT cpufeature
config: arm64-randconfig-r001-20211128 (https://download.01.org/0day-ci/archive/20211129/202111291407.RzTFYBes-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project df08b2fe8b35cb63dfb3b49738a3494b9b4e6f8e)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=db7c6e1049220a0a330cd5234497a51f438a5814
git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
git fetch --no-tags arm-platforms kvm-arm64/nv-5.16
git checkout db7c6e1049220a0a330cd5234497a51f438a5814
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 prepare
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from arch/arm64/kernel/asm-offsets.c:15:
In file included from include/linux/kvm_host.h:39:
>> arch/arm64/include/asm/kvm_host.h:67:70: error: expected ';' after return statement
static inline enum kvm_mode kvm_get_mode(void) { return KVM_MODE_NONE };
^
;
1 error generated.
make[2]: *** [scripts/Makefile.build:121: arch/arm64/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1197: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:219: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +67 arch/arm64/include/asm/kvm_host.h
50
51 #define KVM_DIRTY_LOG_MANUAL_CAPS (KVM_DIRTY_LOG_MANUAL_PROTECT_ENABLE | \
52 KVM_DIRTY_LOG_INITIALLY_SET)
53
54 /*
55 * Mode of operation configurable with kvm-arm.mode early param.
56 * See Documentation/admin-guide/kernel-parameters.txt for more information.
57 */
58 enum kvm_mode {
59 KVM_MODE_DEFAULT,
60 KVM_MODE_PROTECTED,
61 KVM_MODE_NV,
62 KVM_MODE_NONE,
63 };
64 #ifdef CONFIG_KVM
65 enum kvm_mode kvm_get_mode(void);
66 #else
> 67 static inline enum kvm_mode kvm_get_mode(void) { return KVM_MODE_NONE };
68 #endif
69
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-29 6:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-29 6:18 [arm-platforms:kvm-arm64/nv-5.16 6/71] arch/arm64/include/asm/kvm_host.h:67:70: error: expected ';' after return statement kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).