All of lore.kernel.org
 help / color / mirror / Atom feed
* [lpieralisi:dev/acpi-static-table-gsi-deferral 4/6] drivers/acpi/property.c:1798:undefined reference to `acpi_get_gsi_dispatcher'
@ 2026-09-07 15:28 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-07 15:28 UTC (permalink / raw)
  To: Lorenzo Pieralisi; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/linux.git dev/acpi-static-table-gsi-deferral
head:   1d08fa15e38840796959db081e78ac188d2c882c
commit: 34e97e764f2788632c0b67499f639855e19d82d2 [4/6] acpi static fwnode irq_get/add_links
config: x86_64-randconfig-122-20260907 (https://download.01.org/0day-ci/archive/20260907/202609072304.S6LYbARW-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260907/202609072304.S6LYbARW-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/202609072304.S6LYbARW-lkp@intel.com/

All errors (new ones prefixed by >>):

   ld: vmlinux.o: in function `acpi_static_fwnode_add_irq_links':
>> drivers/acpi/property.c:1798:(.text+0xf4fc67): undefined reference to `acpi_get_gsi_dispatcher'


vim +1798 drivers/acpi/property.c

  1795	
  1796	static int acpi_static_fwnode_add_irq_links(struct fwnode_handle *fwnode)
  1797	{
> 1798		acpi_gsi_domain_disp_fn dispatch = acpi_get_gsi_dispatcher();
  1799		int ret, count;
  1800		u32 gsi;
  1801	
  1802		if (!fwnode->secondary || !dispatch)
  1803			return -ENODEV;
  1804	
  1805		fwnode = fwnode->secondary;
  1806	
  1807		count = fwnode_property_count_u32(fwnode, ACPI_IRQ_PROP_GSI);
  1808		if (count <= 0)
  1809			return -ENODEV;
  1810	
  1811		for (unsigned int i = 0; i < count; i++) {
  1812			struct fwnode_handle *supplier;
  1813	
  1814			ret = software_node_read_u32_prop_index(fwnode,
  1815								ACPI_IRQ_PROP_GSI,
  1816								i, &gsi);
  1817			if (ret)
  1818				continue;
  1819	
  1820			supplier = dispatch(gsi);
  1821			if (!is_acpi_device_node(supplier) || supplier == fwnode)
  1822				continue;
  1823	
  1824			fwnode_link_add(fwnode, supplier, 0);
  1825		}
  1826	
  1827		return 0;
  1828	}
  1829	

--
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-09-07 15:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-07 15:28 [lpieralisi:dev/acpi-static-table-gsi-deferral 4/6] drivers/acpi/property.c:1798:undefined reference to `acpi_get_gsi_dispatcher' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.