[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

From: kernel test robot <hidden>
Date: 2023-06-27 15:03:34
Also in: oe-kbuild-all

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 [off-list ref]
| Closes: https://lore.kernel.org/oe-kbuild-all/202306272233.zwKNnSCj-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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help