tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: bb74bc369fd2ab5f41a32c4ddc2e23bc76c3c550 commit: ef20808db09987137fba30519fb94a6b12b63ee7 [9620/9669] Add kh40000_iommu_dma_ops for KH-40000 platform config: x86_64-buildonly-randconfig-002-20240520 (https://download.01.org/0day-ci/archive/20240520/202405202248.hKgUtGVI-lkp@i...) compiler: gcc-11 (Ubuntu 11.4.0-4ubuntu1) 11.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240520/202405202248.hKgUtGVI-lkp@i...)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot lkp@intel.com | Closes: https://lore.kernel.org/oe-kbuild-all/202405202248.hKgUtGVI-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/x86/kernel/zhaoxin_kh40000.c: In function 'kh40000_set_iommu_dma_ops':
arch/x86/kernel/zhaoxin_kh40000.c:348:16: error: 'struct device' has no member named 'dma_ops'
348 | if (dev->dma_ops) { | ^~ arch/x86/kernel/zhaoxin_kh40000.c:349:36: error: 'struct device' has no member named 'dma_ops' 349 | iommu_dma_ops = dev->dma_ops; | ^~
vim +348 arch/x86/kernel/zhaoxin_kh40000.c
345 346 void kh40000_set_iommu_dma_ops(struct device *dev) 347 {
348 if (dev->dma_ops) {