[arm-platforms:hack/m2-pmu 11/70] arch/arm64/kvm/emulate-nested.c:114:8: warning: type qualifiers ignored on function return type
From: kernel test robot <hidden>
Date: 2023-05-28 01:24:31
Also in:
oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git hack/m2-pmu head: 131aded73e283912aefdb8fc34be0d9e05713cef commit: 4caccf2e2682beb347648efcf5ab01e0cf589dc8 [11/70] KVM: arm64: nv: Add trap forwarding infrastructure config: arm64-defconfig (https://download.01.org/0day-ci/archive/20230528/202305280908.q9bx2cV6-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): mkdir -p ~/bin 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=4caccf2e2682beb347648efcf5ab01e0cf589dc8 git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git git fetch --no-tags arm-platforms hack/m2-pmu git checkout 4caccf2e2682beb347648efcf5ab01e0cf589dc8 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 ~/bin/make.cross W=1 O=build_dir ARCH=arm64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 ~/bin/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 [off-list ref] | Closes: https://lore.kernel.org/oe-kbuild-all/202305280908.q9bx2cV6-lkp@intel.com/ (local) All warnings (new ones prefixed by >>):
quoted
arch/arm64/kvm/emulate-nested.c:114:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
114 | static const enum coarse_grain_trap_id get_trap_config(u32 sysreg)
| ^~~~~
vim +114 arch/arm64/kvm/emulate-nested.c
113
> 114 static const enum coarse_grain_trap_id get_trap_config(u32 sysreg)
115 {
116 return xa_to_value(xa_load(&sr_forward_xa, sysreg));
117 }
118
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel