Re: [PATCH 07/10] iommu/msm: Make use of iommu_device_register interface

From: kbuild test robot
Date: Mon Feb 06 2017 - 23:33:28 EST


Hi Joerg,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.10-rc7]
[cannot apply to iommu/next next-20170206]
[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/20170207-003931
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm

Note: the linux-review/Joerg-Roedel/Let-IOMMU-core-know-about-individual-IOMMUs/20170207-003931 HEAD 0b8fd0f8bbcfb693621ee90abffb0774c143549d builds fine.
It only hurts bisectibility.

All errors (new ones prefixed by >>):

drivers/iommu/msm_iommu.c: In function 'msm_iommu_probe':
>> drivers/iommu/msm_iommu.c:805:14: error: 'struct iommu_device' has no member named 'fwnode'
iommu->iommu.fwnode = &pdev->dev.of_node->fwnode;
^

vim +805 drivers/iommu/msm_iommu.c

799 if (ret) {
800 pr_err("Could not add msm-smmu at %pa to sysfs\n", &ioaddr);
801 goto fail;
802 }
803
804 iommu->iommu.ops = &msm_iommu_ops;
> 805 iommu->iommu.fwnode = &pdev->dev.of_node->fwnode;
806
807 ret = iommu_device_register(&iommu->iommu);
808 if (ret) {

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

Attachment: .config.gz
Description: application/gzip