Hi Quentin,
FYI, the error/warning still remains.
tree:
https://android.googlesource.com/kernel/common android12-5.10-2021-09
head: 0a07ca4e42c839ccc8cfcfa63078c9cb580c7d3b
commit: 68bd98a28aa622358c73420792329221c86fbe0c [6685/10851] FROMLIST: KVM: arm64: Wrap
the host with a stage 2
config: arm64-buildonly-randconfig-r004-20211004 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
c0039de2953d15815448b4b3c3bafb45607781e0)
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
git remote add android-common
https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android12-5.10-2021-09
git checkout 68bd98a28aa622358c73420792329221c86fbe0c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> arch/arm64/kvm/arm.c:1906:6: warning: no previous prototype for
function '_kvm_host_prot_finalize' [-Wmissing-prototypes]
void
_kvm_host_prot_finalize(void *discard)
^
arch/arm64/kvm/arm.c:1906:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void _kvm_host_prot_finalize(void *discard)
^
static
1 warning generated.
vim +/_kvm_host_prot_finalize +1906 arch/arm64/kvm/arm.c
1905
1906 void _kvm_host_prot_finalize(void *discard)
1907 {
1908 WARN_ON(kvm_call_hyp_nvhe(__pkvm_prot_finalize));
1909 }
1910
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org