[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202005160245.q5ILqcLs%lkp@intel.com>
Date: Sat, 16 May 2020 02:59:49 +0800
From: kbuild test robot <lkp@...el.com>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Joerg Roedel <jroedel@...e.de>
Subject: drivers/iommu/rockchip-iommu.c:839:43: error: 'struct dev_archdata'
has no member named 'iommu'
Hi Krzysztof,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 051e6b7e34b9bd24f46725f74994a4d3a653966e
commit: e93a1695d7fb551376b1c1220a267d032b6ad159 iommu: Enable compile testing for some of drivers
date: 2 months ago
config: ia64-randconfig-r015-20200515 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout e93a1695d7fb551376b1c1220a267d032b6ad159
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@...el.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
drivers/iommu/rockchip-iommu.c: In function 'rk_iommu_from_dev':
>> drivers/iommu/rockchip-iommu.c:839:43: error: 'struct dev_archdata' has no member named 'iommu'
839 | struct rk_iommudata *data = dev->archdata.iommu;
| ^
drivers/iommu/rockchip-iommu.c: In function 'rk_iommu_add_device':
drivers/iommu/rockchip-iommu.c:1063:22: error: 'struct dev_archdata' has no member named 'iommu'
1063 | data = dev->archdata.iommu;
| ^
drivers/iommu/rockchip-iommu.c: In function 'rk_iommu_remove_device':
drivers/iommu/rockchip-iommu.c:1084:43: error: 'struct dev_archdata' has no member named 'iommu'
1084 | struct rk_iommudata *data = dev->archdata.iommu;
| ^
drivers/iommu/rockchip-iommu.c: In function 'rk_iommu_of_xlate':
drivers/iommu/rockchip-iommu.c:1115:15: error: 'struct dev_archdata' has no member named 'iommu'
1115 | dev->archdata.iommu = data;
| ^
vim +839 drivers/iommu/rockchip-iommu.c
c68a292152d322 Daniel Kurtz 2014-11-03 836
c68a292152d322 Daniel Kurtz 2014-11-03 837 static struct rk_iommu *rk_iommu_from_dev(struct device *dev)
c68a292152d322 Daniel Kurtz 2014-11-03 838 {
5fd577c3eac3bd Jeffy Chen 2018-03-23 @839 struct rk_iommudata *data = dev->archdata.iommu;
c68a292152d322 Daniel Kurtz 2014-11-03 840
5fd577c3eac3bd Jeffy Chen 2018-03-23 841 return data ? data->iommu : NULL;
c68a292152d322 Daniel Kurtz 2014-11-03 842 }
c68a292152d322 Daniel Kurtz 2014-11-03 843
:::::: The code at line 839 was first introduced by commit
:::::: 5fd577c3eac3bdb9aebfec01e9b3d7f07a14f2dd iommu/rockchip: Use OF_IOMMU to attach devices automatically
:::::: TO: Jeffy Chen <jeffy.chen@...k-chips.com>
:::::: CC: Joerg Roedel <jroedel@...e.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (35779 bytes)
Powered by blists - more mailing lists