[arm-platforms:kvm-arm64/nv-gic 12/12] arch/arm64/kvm/vgic/vgic-v3-nested.c:116:1: warning: no return statement in function returning non-void
kernel test robot
lkp at intel.com
Thu Nov 28 09:41:40 PST 2024
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/nv-gic
head: cd3fedf7137034ee2858afe5fabf24784d0b3919
commit: cd3fedf7137034ee2858afe5fabf24784d0b3919 [12/12] WIP
config: arm64-randconfig-002-20241128 (https://download.01.org/0day-ci/archive/20241129/202411290111.GeyA5VWD-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241129/202411290111.GeyA5VWD-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/202411290111.GeyA5VWD-lkp@intel.com/
All warnings (new ones prefixed by >>):
arch/arm64/kvm/vgic/vgic-v3-nested.c: In function 'vgic_v3_get_mi_level':
>> arch/arm64/kvm/vgic/vgic-v3-nested.c:116:1: warning: no return statement in function returning non-void [-Wreturn-type]
116 | }
| ^
arch/arm64/kvm/vgic/vgic-v3-nested.c: At top level:
>> arch/arm64/kvm/vgic/vgic-v3-nested.c:114:13: warning: 'vgic_v3_get_mi_level' defined but not used [-Wunused-function]
114 | static bool vgic_v3_get_mi_level(int intid)
| ^~~~~~~~~~~~~~~~~~~~
vim +116 arch/arm64/kvm/vgic/vgic-v3-nested.c
113
> 114 static bool vgic_v3_get_mi_level(int intid)
115 {
> 116 }
117
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the linux-arm-kernel
mailing list