[arm-platforms:kvm-arm64/nvhe-stacktrace 20/20] arch/arm64/kvm/handle_exit.c:342: warning: expecting prototype for hyp_backtrace_entry(). Prototype was for hyp_dump_backtrace_entry() instead

kernel test robot lkp at intel.com
Thu Jul 21 12:27:58 PDT 2022


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/nvhe-stacktrace
head:   553037fc79c6452253a64be5b3fa709688d9081a
commit: 553037fc79c6452253a64be5b3fa709688d9081a [20/20] WIP
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220722/202207220300.6HnTObMS-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.1.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=553037fc79c6452253a64be5b3fa709688d9081a
        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-stacktrace
        git checkout 553037fc79c6452253a64be5b3fa709688d9081a
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kvm/

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

All warnings (new ones prefixed by >>):

   arch/arm64/kvm/handle_exit.c:327: warning: Function parameter or member 'addr' not described in 'kvm_nvhe_print_backtrace_entry'
   arch/arm64/kvm/handle_exit.c:327: warning: Function parameter or member 'hyp_offset' not described in 'kvm_nvhe_print_backtrace_entry'
>> arch/arm64/kvm/handle_exit.c:342: warning: expecting prototype for hyp_backtrace_entry(). Prototype was for hyp_dump_backtrace_entry() instead


vim +342 arch/arm64/kvm/handle_exit.c

   334	
   335	/**
   336	 * hyp_backtrace_entry - Dump an entry of the non-protected nVHE HYP stacktrace
   337	 *
   338	 * @arg    : the hypervisor offset, used for address translation
   339	 * @where  : the program counter corresponding to the stack frame
   340	 */
   341	static bool hyp_dump_backtrace_entry(void *arg, unsigned long where)
 > 342	{
   343		kvm_nvhe_print_backtrace_entry(where, (unsigned long)arg);
   344	
   345		return true;
   346	}
   347	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



More information about the linux-arm-kernel mailing list