[arm-platforms:kvm-arm64/misc-6.16 7/7] arch/arm64/kvm/vgic/vgic-debug.c:365: warning: expecting prototype for vigc_its_iter_next(). Prototype was for vgic_its_iter_next() instead
kernel test robot
lkp at intel.com
Wed May 21 23:44:03 PDT 2025
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/misc-6.16
head: 30deb51a677b96f0faf20373995fe0fb4a78b8b8
commit: 30deb51a677b96f0faf20373995fe0fb4a78b8b8 [7/7] KVM: arm64: vgic-its: Add debugfs interface to expose ITS tables
config: arm64-randconfig-002-20250522 (https://download.01.org/0day-ci/archive/20250522/202505221421.KAuWlmSr-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250522/202505221421.KAuWlmSr-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/202505221421.KAuWlmSr-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/arm64/kvm/vgic/vgic-debug.c:365: warning: expecting prototype for vigc_its_iter_next(). Prototype was for vgic_its_iter_next() instead
vim +365 arch/arm64/kvm/vgic/vgic-debug.c
353
354 /**
355 * vigc_its_iter_next - Advances the iterator to the next entry in the ITS tables.
356 * @its: The VGIC ITS structure.
357 * @iter: The iterator to advance.
358 *
359 * This function moves the iterator to the next ITE within the current device,
360 * or to the first ITE of the next device if the current ITE is the last in
361 * the device. If the current device is the last device, the iterator is set
362 * to indicate the end of iteration.
363 */
364 static void vgic_its_iter_next(struct vgic_its *its, struct vgic_its_iter *iter)
> 365 {
366 struct its_device *dev = iter->dev;
367 struct its_ite *ite = iter->ite;
368
369 if (!ite || list_is_last(&ite->ite_list, &dev->itt_head)) {
370 if (list_is_last(&dev->dev_list, &its->device_list)) {
371 dev = NULL;
372 ite = NULL;
373 } else {
374 dev = list_next_entry(dev, dev_list);
375 ite = list_first_entry_or_null(&dev->itt_head,
376 struct its_ite,
377 ite_list);
378 }
379 } else {
380 ite = list_next_entry(ite, ite_list);
381 }
382
383 iter->dev = dev;
384 iter->ite = ite;
385 }
386
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the linux-arm-kernel
mailing list