Re: [PATCH 03/10] iommu: Introduce new 'struct iommu_device'

From: kbuild test robot
Date: Fri Feb 03 2017 - 11:09:01 EST


Hi Joerg,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.10-rc6]
[cannot apply to iommu/next next-20170203]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Joerg-Roedel/Let-IOMMU-core-know-about-individual-IOMMUs/20170203-232949
config: i386-defconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

In file included from drivers/gpu/drm/i915/i915_drv.h:41:0,
from drivers/gpu/drm/i915/i915_drv.c:48:
>> include/linux/intel-iommu.h:444:22: error: field 'iommu' has incomplete type
struct iommu_device iommu; /* IOMMU core code handle */
^~~~~

vim +/iommu +444 include/linux/intel-iommu.h

438 #ifdef CONFIG_IRQ_REMAP
439 struct ir_table *ir_table; /* Interrupt remapping info */
440 struct irq_domain *ir_domain;
441 struct irq_domain *ir_msi_domain;
442 #endif
443 struct device *iommu_dev; /* IOMMU-sysfs device */
> 444 struct iommu_device iommu; /* IOMMU core code handle */
445 int node;
446 u32 flags; /* Software defined flags */
447 };

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip