All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android12-5.10-2021-09 6685/10848] arch/arm64/kvm/arm.c:1906:6: warning: no previous prototype for function '_kvm_host_prot_finalize'
@ 2021-11-05 13:39 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-05 13:39 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1975 bytes --]

tree:   https://android.googlesource.com/kernel/common android12-5.10-2021-09
head:   ece338aaa6b4bdf1c505c64f6b391e5cfabbfee5
commit: 68bd98a28aa622358c73420792329221c86fbe0c [6685/10848] 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@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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 38024 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-05 13:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-05 13:39 [android-common:android12-5.10-2021-09 6685/10848] arch/arm64/kvm/arm.c:1906:6: warning: no previous prototype for function '_kvm_host_prot_finalize' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.