[openeuler:OLK-6.6 3493/3493] ./include/linux/iommu.h:2001:40: warning: 'struct iommu_plb_gather' declared inside parameter list will not be visible outside of this definition or declaration
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 36141432a37f7dedddde8825e724b07ce3a440fb commit: d46a4bd5bdfd7f1d6e2fa159398df4c54345070c [3493/3493] iommu/ummu-core: introduce iommu sva permission operation config: x86_64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20251208/202512082342.kZY4UVlP-lkp@i...) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251208/202512082342.kZY4UVlP-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/202512082342.kZY4UVlP-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from kernel/fork.c:101:
./include/linux/iommu.h:2001:40: warning: 'struct iommu_plb_gather' declared inside parameter list will not be visible outside of this definition or declaration 2001 | struct iommu_plb_gather *plb_gather) {} | ^~~~~~~~~~~~~~~~
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