tree: baolu/iommu/master/5.6-rc6/20200317
head: 6f4601eb5dac7fc0db47a44b64792c495515a55a
commit: c8fe7c1026abfcdd82ac18cd0cabc4d3d950b3e3 [10/14] iommu/vt-d: Add get_domain_info()
help
config: i386-randconfig-b001-20200316 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
git checkout c8fe7c1026abfcdd82ac18cd0cabc4d3d950b3e3
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from arch/x86/kvm/x86.c:41:0:
include/linux/intel-iommu.h: In function 'get_domain_info':
> include/linux/intel-iommu.h:600:22: error: 'struct
dev_archdata' has no member named 'iommu'
info =
dev->archdata.iommu;
^
vim +600 include/linux/intel-iommu.h
590
591 #define DUMMY_DEVICE_DOMAIN_INFO ((struct device_domain_info *)(-1))
592 #define DEFER_DEVICE_DOMAIN_INFO ((struct device_domain_info *)(-2))
593 static inline struct device_domain_info *get_domain_info(struct device *dev)
594 {
595 struct device_domain_info *info;
596
597 if (!dev)
598 return NULL;
599
600 info = dev->archdata.iommu;
601 if (unlikely(info
== DUMMY_DEVICE_DOMAIN_INFO ||
602 info == DEFER_DEVICE_DOMAIN_INFO))
603 return NULL;
604
605 return info;
606 }
607
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org