[openeuler:OLK-6.6 3129/3129] drivers/ub/ubfi/irq.c:18:20: error: no member named 'domain' in 'struct dev_msi_info'
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: be4908c3dd5d15795275b738fbadd71ff8f0fbaa commit: 028a4161a77d2e15d331a13599a6f06cdd7490b6 [3129/3129] ub:ubfi: register ubc usi domain config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20251111/202511111409.5wQwlEc6-lkp@i...) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251111/202511111409.5wQwlEc6-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/202511111409.5wQwlEc6-lkp@intel.com/ All errors (new ones prefixed by >>):
drivers/ub/ubfi/irq.c:18:20: error: no member named 'domain' in 'struct dev_msi_info' 18 | domain = dev->msi.domain; | ~~~~~~~~ ^ 1 error generated.
vim +18 drivers/ub/ubfi/irq.c 11 12 int ub_update_msi_domain(struct device *dev, 13 enum irq_domain_bus_token bus_token) 14 { 15 struct fwnode_handle *fwnode; 16 struct irq_domain *domain; 17
18 domain = dev->msi.domain; 19 if (!domain) { 20 dev_err(dev, "find base irq domain failed!\n"); 21 return -ENODEV; 22 } 23 24 fwnode = domain->fwnode; 25 if (!fwnode) { 26 dev_err(dev, "find fwnode failed!\n"); 27 return -ENODEV; 28 } 29 30 domain = irq_find_matching_fwnode(fwnode, bus_token); 31 if (!domain) { 32 dev_err(dev, "find irq domain failed!\n"); 33 return -ENODEV; 34 } 35 36 /* Update msi domain with new bus_token */ 37 dev_set_msi_domain(dev, domain); 38 39 return 0; 40 } 41 EXPORT_SYMBOL_GPL(ub_update_msi_domain); 42
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot