All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Lorenzo Pieralisi <lpieralisi@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [lpieralisi:dev/acpi-static-table-gsi-deferral 4/6] drivers/acpi/property.c:1798:undefined reference to `acpi_get_gsi_dispatcher'
Date: Mon, 07 Sep 2026 23:28:15 +0800	[thread overview]
Message-ID: <202609072304.S6LYbARW-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-09-07 15:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202609072304.S6LYbARW-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=lpieralisi@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.