Messages in this thread | | | Date | Thu, 14 Jan 2021 12:59:43 +0800 | From | kernel test robot <> | Subject | arch/arm64/kvm/hyp/nvhe/hyp-main.c:18:6: warning: no previous prototype for 'handle_trap' |
| |
Hi Andrew,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 65f0d2414b7079556fbbcc070b3d1c9f9587606d commit: 4e3393a969a0bdaae83263918b6824b2d08c3996 KVM: arm64: nVHE: Switch to hyp context for EL2 date: 4 months ago config: arm64-randconfig-r005-20210113 (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/torvalds/linux.git/commit/?id=4e3393a969a0bdaae83263918b6824b2d08c3996 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master 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@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) | ^~~~~~~~~~~
Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for NVMEM_IMX_OCOTP Depends on NVMEM && (ARCH_MXC || COMPILE_TEST && HAS_IOMEM Selected by - ARM_IMX6Q_CPUFREQ && CPU_FREQ && (ARM || ARM64 && ARCH_MXC && REGULATOR_ANATOP
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 [unhandled content-type:application/gzip] | |