[arm-platforms:kvm-arm64/el2-pc 33/35] arch/arm64/kvm/hyp/vhe/../exception.c:13:6: warning: no previous prototype for 'kvm_inject_exception'

kernel test robot lkp at intel.com
Thu Oct 15 00:40:54 EDT 2020


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/el2-pc
head:   316bd6db26b0d43d6b62b2626a1cb7706f4902e3
commit: 27ef9a8bb5594264cb41e722ac21ab5319674ec8 [33/35] KVM: arm64: Add basic hooks for injecting exceptions from EL2
config: arm64-randconfig-r015-20201014 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.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://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=27ef9a8bb5594264cb41e722ac21ab5319674ec8
        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/el2-pc
        git checkout 27ef9a8bb5594264cb41e722ac21ab5319674ec8
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

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

All warnings (new ones prefixed by >>):

   arch/arm64/kvm/hyp/vhe/../exception.c:13:34: warning: 'struct kvm_vcpu' declared inside parameter list will not be visible outside of this definition or declaration
      13 | void kvm_inject_exception(struct kvm_vcpu *vcpu)
         |                                  ^~~~~~~~
>> arch/arm64/kvm/hyp/vhe/../exception.c:13:6: warning: no previous prototype for 'kvm_inject_exception' [-Wmissing-prototypes]
      13 | void kvm_inject_exception(struct kvm_vcpu *vcpu)
         |      ^~~~~~~~~~~~~~~~~~~~
--
   arch/arm64/kvm/hyp/nvhe/../exception.c:13:34: warning: 'struct kvm_vcpu' declared inside parameter list will not be visible outside of this definition or declaration
      13 | void kvm_inject_exception(struct kvm_vcpu *vcpu)
         |                                  ^~~~~~~~
>> arch/arm64/kvm/hyp/nvhe/../exception.c:13:6: warning: no previous prototype for 'kvm_inject_exception' [-Wmissing-prototypes]
      13 | void kvm_inject_exception(struct kvm_vcpu *vcpu)
         |      ^~~~~~~~~~~~~~~~~~~~

vim +/kvm_inject_exception +13 arch/arm64/kvm/hyp/vhe/../exception.c

  > 13	void kvm_inject_exception(struct kvm_vcpu *vcpu)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 37566 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20201015/02d0e819/attachment-0001.gz>


More information about the linux-arm-kernel mailing list