Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [avpatel:riscv_iommu_irqbypass_v2 3/18] drivers/iommu/riscv/iommu.h:24:28: error: field has incomplete type 'struct pt_iommu_riscv_64'
@ 2026-04-30 19:24 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-30 19:24 UTC (permalink / raw)
  To: Andrew Jones; +Cc: llvm, oe-kbuild-all, Anup Patel, Nutty Liu

tree:   https://github.com/avpatel/linux.git riscv_iommu_irqbypass_v2
head:   0ba166d111b762ae8f37075ba1266e345ae5ef59
commit: 09919384307f2b09ecee7801e4ef772dc0a52a56 [3/18] iommu/riscv: Move struct riscv_iommu_domain and info to iommu.h
config: riscv-defconfig (https://download.01.org/0day-ci/archive/20260501/202605010359.0LXLMhKE-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260501/202605010359.0LXLMhKE-lkp@intel.com/reproduce)

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/202605010359.0LXLMhKE-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/iommu/riscv/iommu-platform.c:22:
>> drivers/iommu/riscv/iommu.h:24:28: error: field has incomplete type 'struct pt_iommu_riscv_64'
      24 |                 struct pt_iommu_riscv_64 riscvpt;
         |                                          ^
   drivers/iommu/riscv/iommu.h:24:10: note: forward declaration of 'struct pt_iommu_riscv_64'
      24 |                 struct pt_iommu_riscv_64 riscvpt;
         |                        ^
   1 error generated.


vim +24 drivers/iommu/riscv/iommu.h

    19	
    20	/* This struct contains protection domain specific IOMMU driver data. */
    21	struct riscv_iommu_domain {
    22		union {
    23			struct iommu_domain domain;
  > 24			struct pt_iommu_riscv_64 riscvpt;
    25		};
    26		struct list_head bonds;
    27		spinlock_t lock;		/* protect bonds list updates. */
    28		int pscid;
    29	};
    30	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-30 19:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-30 19:24 [avpatel:riscv_iommu_irqbypass_v2 3/18] drivers/iommu/riscv/iommu.h:24:28: error: field has incomplete type 'struct pt_iommu_riscv_64' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox