Hi Quentin,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on kvmarm/next]
[also build test WARNING on next-20210319]
[cannot apply to arm64/for-next/core linux/master linus/master v5.12-rc3]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Quentin-Perret/KVM-arm64-Stage-2...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next
config: arm64-randconfig-r036-20210318 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
fcc1ce00931751ac02498986feb37744e9ace8de)
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://github.com/0day-ci/linux/commit/13c19fdd5d9a500493f95ddb3b57f0b1c...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Quentin-Perret/KVM-arm64-Stage-2-for-the-host/20210319-180524
git checkout 13c19fdd5d9a500493f95ddb3b57f0b1c6d749da
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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:1897: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:1897: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 +1897 arch/arm64/kvm/arm.c
1896
1897 void _kvm_host_prot_finalize(void *discard)
1898 {
1899 WARN_ON(kvm_call_hyp_nvhe(__pkvm_prot_finalize));
1900 }
1901
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org