* [anolis-intel-cloud:devel-6.6 98/98] ./include/linux/iommu.h:1918:40: error: 'struct iommu_plb_gather' declared inside parameter list will not be visible outside of this definition or declaration
@ 2026-09-30 13:19 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-09-30 13:19 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence bisect report"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: aubrey.li@linux.intel.com
tree: https://gitee.com/anolis/intel-cloud-kernel.git devel-6.6
head: 02e32237447fad73b1113af3e12dddaf2b08b5f6
commit: 51aee14260ab017517da536fbc531488b8e67975 [98/98] iommu/ummu-core: introduce iommu sva permission operation
:::::: branch date: 33 hours ago
:::::: commit date: 8 days ago
config: x86_64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260930/202609301517.uGvbfJft-lkp@intel.com/config)
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/20260930/202609301517.uGvbfJft-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/r/202609301517.uGvbfJft-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from kernel/fork.c:103:
>> ./include/linux/iommu.h:1918:40: warning: 'struct iommu_plb_gather' declared inside parameter list will not be visible outside of this definition or declaration
1918 | struct iommu_plb_gather *plb_gather) {}
| ^~~~~~~~~~~~~~~~
--
In file included from drivers/net/ethernet/linkdata/sxe2/base/compat/sxe2_compat.h:22,
from drivers/net/ethernet/linkdata/sxe2/sxe2pf/sxe2.h:35,
from drivers/net/ethernet/linkdata/sxe2/sxe2pf/sxe2_acl.c:25:
>> ./include/linux/iommu.h:1918:40: error: 'struct iommu_plb_gather' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
1918 | struct iommu_plb_gather *plb_gather) {}
| ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
In file included from drivers/net/ethernet/linkdata/sxe2/base/compat/sxe2_compat.h:22,
from drivers/net/ethernet/linkdata/sxe2/sxe2pf/sxe2_main.c:23:
>> ./include/linux/iommu.h:1918:40: error: 'struct iommu_plb_gather' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
1918 | struct iommu_plb_gather *plb_gather) {}
| ^~~~~~~~~~~~~~~~
drivers/net/ethernet/linkdata/sxe2/sxe2pf/sxe2_main.c:1533:27: error: 'sxe2_pm_resume' declared 'static' but never defined [-Werror=unused-function]
1533 | static int __maybe_unused sxe2_pm_resume(struct device *dev);
| ^~~~~~~~~~~~~~
drivers/net/ethernet/linkdata/sxe2/sxe2pf/sxe2_main.c:1534:27: error: 'sxe2_pm_suspend' declared 'static' but never defined [-Werror=unused-function]
1534 | static int __maybe_unused sxe2_pm_suspend(struct device *dev);
| ^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
In file included from drivers/net/ethernet/linkdata/sxe2vf/base/compat/sxe2_compat.h:22,
from drivers/net/ethernet/linkdata/sxe2vf/sxe2vf/sxe2vf_main.c:24:
>> ./include/linux/iommu.h:1918:40: error: 'struct iommu_plb_gather' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
1918 | struct iommu_plb_gather *plb_gather) {}
| ^~~~~~~~~~~~~~~~
drivers/net/ethernet/linkdata/sxe2vf/sxe2vf/sxe2vf_main.c:1864:27: error: 'sxe2vf_pm_resume' declared 'static' but never defined [-Werror=unused-function]
1864 | static int __maybe_unused sxe2vf_pm_resume(struct device *dev);
| ^~~~~~~~~~~~~~~~
drivers/net/ethernet/linkdata/sxe2vf/sxe2vf/sxe2vf_main.c:1865:27: error: 'sxe2vf_pm_suspend' declared 'static' but never defined [-Werror=unused-function]
1865 | static int __maybe_unused sxe2vf_pm_suspend(struct device *dev);
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +1918 ./include/linux/iommu.h
51aee14260ab01 Lei Gong 2025-08-21 1910
51aee14260ab01 Lei Gong 2025-08-21 1911 static inline int iommu_sva_ungrant(struct iommu_sva *sva, void *va,
51aee14260ab01 Lei Gong 2025-08-21 1912 size_t size, void *cookie)
51aee14260ab01 Lei Gong 2025-08-21 1913 {
51aee14260ab01 Lei Gong 2025-08-21 1914 return -EOPNOTSUPP;
51aee14260ab01 Lei Gong 2025-08-21 1915 }
51aee14260ab01 Lei Gong 2025-08-21 1916 static inline void iommu_plb_sync_all(struct iommu_domain *domain) {}
51aee14260ab01 Lei Gong 2025-08-21 1917 static inline void iommu_plb_sync(struct iommu_domain *domain,
51aee14260ab01 Lei Gong 2025-08-21 @1918 struct iommu_plb_gather *plb_gather) {}
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* [anolis-intel-cloud:devel-6.6 98/98] ./include/linux/iommu.h:1918:40: error: 'struct iommu_plb_gather' declared inside parameter list will not be visible outside of this definition or declaration
@ 2026-09-30 14:05 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-09-30 14:05 UTC (permalink / raw)
To: aubrey.li; +Cc: oe-kbuild-all
tree: https://gitee.com/anolis/intel-cloud-kernel.git devel-6.6
head: 02e32237447fad73b1113af3e12dddaf2b08b5f6
commit: 51aee14260ab017517da536fbc531488b8e67975 [98/98] iommu/ummu-core: introduce iommu sva permission operation
config: x86_64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260930/202609301517.uGvbfJft-lkp@intel.com/config)
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/20260930/202609301517.uGvbfJft-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/r/202609301517.uGvbfJft-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from kernel/fork.c:103:
>> ./include/linux/iommu.h:1918:40: warning: 'struct iommu_plb_gather' declared inside parameter list will not be visible outside of this definition or declaration
1918 | struct iommu_plb_gather *plb_gather) {}
| ^~~~~~~~~~~~~~~~
--
In file included from drivers/net/ethernet/linkdata/sxe2/base/compat/sxe2_compat.h:22,
from drivers/net/ethernet/linkdata/sxe2/sxe2pf/sxe2.h:35,
from drivers/net/ethernet/linkdata/sxe2/sxe2pf/sxe2_acl.c:25:
>> ./include/linux/iommu.h:1918:40: error: 'struct iommu_plb_gather' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
1918 | struct iommu_plb_gather *plb_gather) {}
| ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
In file included from drivers/net/ethernet/linkdata/sxe2/base/compat/sxe2_compat.h:22,
from drivers/net/ethernet/linkdata/sxe2/sxe2pf/sxe2_main.c:23:
>> ./include/linux/iommu.h:1918:40: error: 'struct iommu_plb_gather' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
1918 | struct iommu_plb_gather *plb_gather) {}
| ^~~~~~~~~~~~~~~~
drivers/net/ethernet/linkdata/sxe2/sxe2pf/sxe2_main.c:1533:27: error: 'sxe2_pm_resume' declared 'static' but never defined [-Werror=unused-function]
1533 | static int __maybe_unused sxe2_pm_resume(struct device *dev);
| ^~~~~~~~~~~~~~
drivers/net/ethernet/linkdata/sxe2/sxe2pf/sxe2_main.c:1534:27: error: 'sxe2_pm_suspend' declared 'static' but never defined [-Werror=unused-function]
1534 | static int __maybe_unused sxe2_pm_suspend(struct device *dev);
| ^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
In file included from drivers/net/ethernet/linkdata/sxe2vf/base/compat/sxe2_compat.h:22,
from drivers/net/ethernet/linkdata/sxe2vf/sxe2vf/sxe2vf_main.c:24:
>> ./include/linux/iommu.h:1918:40: error: 'struct iommu_plb_gather' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
1918 | struct iommu_plb_gather *plb_gather) {}
| ^~~~~~~~~~~~~~~~
drivers/net/ethernet/linkdata/sxe2vf/sxe2vf/sxe2vf_main.c:1864:27: error: 'sxe2vf_pm_resume' declared 'static' but never defined [-Werror=unused-function]
1864 | static int __maybe_unused sxe2vf_pm_resume(struct device *dev);
| ^~~~~~~~~~~~~~~~
drivers/net/ethernet/linkdata/sxe2vf/sxe2vf/sxe2vf_main.c:1865:27: error: 'sxe2vf_pm_suspend' declared 'static' but never defined [-Werror=unused-function]
1865 | static int __maybe_unused sxe2vf_pm_suspend(struct device *dev);
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +1918 ./include/linux/iommu.h
51aee14260ab01 Lei Gong 2025-08-21 1910
51aee14260ab01 Lei Gong 2025-08-21 1911 static inline int iommu_sva_ungrant(struct iommu_sva *sva, void *va,
51aee14260ab01 Lei Gong 2025-08-21 1912 size_t size, void *cookie)
51aee14260ab01 Lei Gong 2025-08-21 1913 {
51aee14260ab01 Lei Gong 2025-08-21 1914 return -EOPNOTSUPP;
51aee14260ab01 Lei Gong 2025-08-21 1915 }
51aee14260ab01 Lei Gong 2025-08-21 1916 static inline void iommu_plb_sync_all(struct iommu_domain *domain) {}
51aee14260ab01 Lei Gong 2025-08-21 1917 static inline void iommu_plb_sync(struct iommu_domain *domain,
51aee14260ab01 Lei Gong 2025-08-21 @1918 struct iommu_plb_gather *plb_gather) {}
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-30 14:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-30 13:19 [anolis-intel-cloud:devel-6.6 98/98] ./include/linux/iommu.h:1918:40: error: 'struct iommu_plb_gather' declared inside parameter list will not be visible outside of this definition or declaration kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-09-30 14:05 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.