* [openeuler:OLK-6.6 1540/1540] arch/arm64/kvm/../../../virt/kvm/vfio.c:535:6: warning: no previous prototype for 'find_arm_smmu_domain'
@ 2024-11-28 10:36 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-11-28 10:36 UTC (permalink / raw)
To: kernel, yangxiangkai; +Cc: oe-kbuild-all
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 321262d8251f07d9439cae39851f2bf2658d8813
commit: c57a5a1f767336eff9721cb833c067657ade31de [1540/1540] virtcca feature: activate confidential vm to set security device s_s2ttbr
config: arm64-randconfig-002-20241128 (https://download.01.org/0day-ci/archive/20241128/202411281809.d4MBGHxN-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/20241128/202411281809.d4MBGHxN-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411281809.d4MBGHxN-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/arm64/kvm/../../../virt/kvm/vfio.c:535:6: warning: no previous prototype for 'find_arm_smmu_domain' [-Wmissing-prototypes]
535 | void find_arm_smmu_domain(struct kvm_vfio_file *kvf, struct list_head *smmu_domain_group_list)
| ^~~~~~~~~~~~~~~~~~~~
vim +/find_arm_smmu_domain +535 arch/arm64/kvm/../../../virt/kvm/vfio.c
529
530 /**
531 * find_arm_smmu_domain - Find smmu domain list from kvm vfio file
532 * @kvf: Kvm vfio file
533 * @smmu_domain_group_list: List of smmu domain group
534 */
> 535 void find_arm_smmu_domain(struct kvm_vfio_file *kvf, struct list_head *smmu_domain_group_list)
536 {
537 struct iommu_group *iommu_group;
538 int ret = 0;
539 struct arm_smmu_domain *arm_smmu_domain = NULL;
540 struct arm_smmu_domain *arm_smmu_domain_node = NULL;
541
542 iommu_group = cvm_vfio_file_iommu_group(kvf->file);
543 arm_smmu_domain = to_smmu_domain(virtcca_iommu_group_get_domain(iommu_group));
544 list_for_each_entry(arm_smmu_domain_node,
545 smmu_domain_group_list, node) {
546 if (arm_smmu_domain_node == arm_smmu_domain) {
547 ret = -1;
548 break;
549 }
550 }
551 if (!ret)
552 list_add_tail(&arm_smmu_domain->node, smmu_domain_group_list);
553 }
554
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-28 10:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-28 10:36 [openeuler:OLK-6.6 1540/1540] arch/arm64/kvm/../../../virt/kvm/vfio.c:535:6: warning: no previous prototype for 'find_arm_smmu_domain' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.