lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 29 Dec 2020 18:32:14 +0800
From:   kernel test robot <>
To:     Andrew Scull <>
Cc:,,, Marc Zyngier <>
Subject: arch/arm64/kvm/hyp/nvhe/hyp-main.c:18:6: warning: no previous
 prototype for function 'handle_trap'

Hi Andrew,

FYI, the error/warning still remains.

tree: master
head:   dea8dcf2a9fa8cc540136a6cd885c3beece16ec3
commit: 4e3393a969a0bdaae83263918b6824b2d08c3996 KVM: arm64: nVHE: Switch to hyp context for EL2
date:   4 months ago
config: arm64-randconfig-r025-20201229 (attached as .config)
compiler: clang version 12.0.0 ( cee1e7d14f4628d6174b33640d502bff3b54ae45)
reproduce (this is a W=1 build):
        wget -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 linus
        git fetch --no-tags linus master
        git checkout 4e3393a969a0bdaae83263918b6824b2d08c3996
        # 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 <>

All warnings (new ones prefixed by >>):

>> arch/arm64/kvm/hyp/nvhe/hyp-main.c:18:6: warning: no previous prototype for function 'handle_trap' [-Wmissing-prototypes]
   void handle_trap(struct kvm_cpu_context *host_ctxt)
   arch/arm64/kvm/hyp/nvhe/hyp-main.c:18:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void handle_trap(struct kvm_cpu_context *host_ctxt)
   1 warning generated.

vim +/handle_trap +18 arch/arm64/kvm/hyp/nvhe/hyp-main.c

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

0-DAY CI Kernel Test Service, Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (39094 bytes)

Powered by blists - more mailing lists