lkml.org 
[lkml]   [2022]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[ammarfaizi2-block:google/android/kernel/common/android12-5.10 981/9999] arch/arm64/kvm/arm.c:1906:6: warning: no previous prototype for '_kvm_host_prot_finalize'
Hi Quentin,

FYI, the error/warning still remains.

tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android12-5.10
head: b0d13db791b8774617b72c9242a7cf49f67720b2
commit: 68bd98a28aa622358c73420792329221c86fbe0c [981/9999] FROMLIST: KVM: arm64: Wrap the host with a stage 2
config: arm64-buildonly-randconfig-r006-20220126 (https://download.01.org/0day-ci/archive/20220127/202201270944.zEo8aC9v-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.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
# https://github.com/ammarfaizi2/linux-block/commit/68bd98a28aa622358c73420792329221c86fbe0c
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android12-5.10
git checkout 68bd98a28aa622358c73420792329221c86fbe0c
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kvm/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> arch/arm64/kvm/arm.c:1906:6: warning: no previous prototype for '_kvm_host_prot_finalize' [-Wmissing-prototypes]
1906 | void _kvm_host_prot_finalize(void *discard)
| ^~~~~~~~~~~~~~~~~~~~~~~


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

\
 
 \ /
  Last update: 2022-01-27 02:43    [W:0.024 / U:1.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site