[openeuler:OLK-6.6 3098/3098] include/linux/iommu.h:2001:12: warning: declaration of 'struct iommu_plb_gather' will not be visible outside of this function
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: a29fc03bd0ddaf7388cf31604ef5bd9807585109 commit: d46a4bd5bdfd7f1d6e2fa159398df4c54345070c [3098/3098] iommu/ummu-core: introduce iommu sva permission operation config: loongarch-allnoconfig (https://download.01.org/0day-ci/archive/20251103/202511031912.GYyUucHm-lkp@i...) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project d2625a438020ad35330cda29c3def102c1687b1b) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251103/202511031912.GYyUucHm-lkp@i...) 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/202511031912.GYyUucHm-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from kernel/fork.c:101:
include/linux/iommu.h:2001:12: warning: declaration of 'struct iommu_plb_gather' will not be visible outside of this function [-Wvisibility] 2001 | struct iommu_plb_gather *plb_gather) {} | ^ 1 warning generated.
vim +2001 include/linux/iommu.h 1993 1994 static inline int iommu_sva_ungrant(struct iommu_sva *sva, void *va, 1995 size_t size, void *cookie) 1996 { 1997 return -EOPNOTSUPP; 1998 } 1999 static inline void iommu_plb_sync_all(struct iommu_domain *domain) {} 2000 static inline void iommu_plb_sync(struct iommu_domain *domain,
2001 struct iommu_plb_gather *plb_gather) {}
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot