[arm-platforms:kvm-arm64/nv-6.5-WIP-6.4 11/66] arch/arm64/kvm/emulate-nested.c:114:8: warning: type qualifiers ignored on function return type

kernel test robot lkp at intel.com
Tue Jun 27 08:02:04 PDT 2023


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/nv-6.5-WIP-6.4
head:   4b1f7948108b02c167e9269eba4355c5bc9a3f68
commit: 1036bf3ae60e63df02d357ceaaf47dd483d56d3d [11/66] KVM: arm64: nv: Add trap forwarding infrastructure
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20230627/202306272233.zwKNnSCj-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230627/202306272233.zwKNnSCj-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306272233.zwKNnSCj-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> 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



More information about the linux-arm-kernel mailing list