[arm-platforms:kvm-arm64/nvhe-hyp-context 12/19] arch/arm64/kvm/hyp/nvhe/hyp-main.c:18:6: warning: no previous prototype for 'handle_trap'

kernel test robot lkp at intel.com
Wed Sep 16 14:01:58 EDT 2020


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/nvhe-hyp-context
head:   a071261d93184f43b7dede7516b6c449c4ed5770
commit: 4e3393a969a0bdaae83263918b6824b2d08c3996 [12/19] KVM: arm64: nVHE: Switch to hyp context for EL2
config: arm64-allyesconfig (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
        git checkout 4e3393a969a0bdaae83263918b6824b2d08c3996
        # 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/nvhe/hyp-main.c:18:6: warning: no previous prototype for 'handle_trap' [-Wmissing-prototypes]
      18 | void handle_trap(struct kvm_cpu_context *host_ctxt)
         |      ^~~~~~~~~~~

# https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=4e3393a969a0bdaae83263918b6824b2d08c3996
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/nvhe-hyp-context
git checkout 4e3393a969a0bdaae83263918b6824b2d08c3996
vim +/handle_trap +18 arch/arm64/kvm/hyp/nvhe/hyp-main.c

    14	
    15	typedef unsigned long (*hypcall_fn_t)
    16		(unsigned long, unsigned long, unsigned long);
    17	
  > 18	void handle_trap(struct kvm_cpu_context *host_ctxt)

---
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: 74160 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20200917/79172d54/attachment-0001.gz>


More information about the linux-arm-kernel mailing list