* [hch-misc:iommu-cleanup 17/18] drivers/iommu/iommu.c:2706:20: error: 'const struct iommu_ops' has no member named 'domain_set_pgtable_quirk'; did you mean
@ 2021-03-14 13:45 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-14 13:45 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2366 bytes --]
tree: git://git.infradead.org/users/hch/misc.git iommu-cleanup
head: 5bb13e80e571ad3a1e1c69f1181bbb892b936ccc
commit: 1dc0ff3cff1d641efc5400cde505ed9e1b2181c3 [17/18] iommu: remove DOMAIN_ATTR_IO_PGTABLE_CFG
config: i386-randconfig-s001-20210314 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-262-g5e674421-dirty
git remote add hch-misc git://git.infradead.org/users/hch/misc.git
git fetch --no-tags hch-misc iommu-cleanup
git checkout 1dc0ff3cff1d641efc5400cde505ed9e1b2181c3
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/iommu/iommu.c: In function 'iommu_set_pgtable_quirks':
>> drivers/iommu/iommu.c:2706:20: error: 'const struct iommu_ops' has no member named 'domain_set_pgtable_quirk'; did you mean 'set_pgtable_quirks'?
2706 | if (!domain->ops->domain_set_pgtable_quirk)
| ^~~~~~~~~~~~~~~~~~~~~~~~
| set_pgtable_quirks
drivers/iommu/iommu.c:2708:22: error: 'const struct iommu_ops' has no member named 'domain_set_pgtable_quirk'; did you mean 'set_pgtable_quirks'?
2708 | return domain->ops->domain_set_pgtable_quirk(domain, quirk);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| set_pgtable_quirks
drivers/iommu/iommu.c:2709:1: error: control reaches end of non-void function [-Werror=return-type]
2709 | }
| ^
cc1: some warnings being treated as errors
vim +2706 drivers/iommu/iommu.c
2700
2701 int iommu_set_pgtable_quirks(struct iommu_domain *domain,
2702 unsigned long quirk)
2703 {
2704 if (domain->type != IOMMU_DOMAIN_UNMANAGED)
2705 return -EINVAL;
> 2706 if (!domain->ops->domain_set_pgtable_quirk)
2707 return -EINVAL;
2708 return domain->ops->domain_set_pgtable_quirk(domain, quirk);
2709 }
2710 EXPORT_SYMBOL_GPL(iommu_set_pgtable_quirks);
2711
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 36277 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-14 13:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-14 13:45 [hch-misc:iommu-cleanup 17/18] drivers/iommu/iommu.c:2706:20: error: 'const struct iommu_ops' has no member named 'domain_set_pgtable_quirk'; did you mean 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.