From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: [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
Date: Wed, 30 Sep 2026 15:19:57 +0200 [thread overview]
Message-ID: <202609301517.uGvbfJft-lkp@intel.com> (raw)
::::::
:::::: 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
next reply other threads:[~2026-09-30 13:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-30 13:19 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-09-30 14:05 [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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202609301517.uGvbfJft-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.