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: arm64-randconfig-r033-20210314 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
7ee96429a0b057bcc97331a6a762fc3cd00aed61)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
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
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/iommu/iommu.c:2706:20: error: no member named
'domain_set_pgtable_quirk' in 'struct iommu_ops'; did you mean
'set_pgtable_quirks'?
if
(!domain->ops->domain_set_pgtable_quirk)
^~~~~~~~~~~~~~~~~~~~~~~~
set_pgtable_quirks
include/linux/iommu.h:251:8: note: 'set_pgtable_quirks' declared here
int (*set_pgtable_quirks)(struct iommu_domain *domain,
^
drivers/iommu/iommu.c:2708:22: error: no member named
'domain_set_pgtable_quirk' in 'struct iommu_ops'; did you mean
'set_pgtable_quirks'?
return domain->ops->domain_set_pgtable_quirk(domain, quirk);
^~~~~~~~~~~~~~~~~~~~~~~~
set_pgtable_quirks
include/linux/iommu.h:251:8: note: 'set_pgtable_quirks' declared here
int (*set_pgtable_quirks)(struct iommu_domain *domain,
^
2 errors generated.
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@lists.01.org