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 6/13] drivers/clocksource/arm_arch_timer_mmio.c:208:8: error: call to undeclared function 'acpi_register_gsi'; ISO C99 and later do not support implicit function declarations
Date: Fri, 11 Sep 2026 10:31:54 +0800 [thread overview]
Message-ID: <202609111011.7NQxSpZ0-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/linux.git dev/acpi-static-table-gsi-deferral
head: 57e5c004a108c62e38be743a8e66e3cae00ca521
commit: cb41cb5a5932af1185e1b4c865abc9116e3d7e63 [6/13] clocksource: Implement arch mem timer deferred probe
config: arm-exynos_defconfig (https://download.01.org/0day-ci/archive/20260911/202609111011.7NQxSpZ0-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260911/202609111011.7NQxSpZ0-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/202609111011.7NQxSpZ0-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/clocksource/arm_arch_timer_mmio.c:208:8: error: call to undeclared function 'acpi_register_gsi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
208 | ret = acpi_register_gsi(&pdev->dev, gsi, trigger, polarity);
| ^
1 error generated.
vim +/acpi_register_gsi +208 drivers/clocksource/arm_arch_timer_mmio.c
194
195 static int arch_timer_mmio_map_gsi(struct platform_device *pdev, u32 gsi,
196 u32 flags, int *irq)
197 {
198 int trigger, polarity, ret;
199
200 if (!gsi || *irq)
201 return 0;
202
203 trigger = (flags & ACPI_GTDT_INTERRUPT_MODE) ? ACPI_EDGE_SENSITIVE
204 : ACPI_LEVEL_SENSITIVE;
205 polarity = (flags & ACPI_GTDT_INTERRUPT_POLARITY) ? ACPI_ACTIVE_LOW
206 : ACPI_ACTIVE_HIGH;
207
> 208 ret = acpi_register_gsi(&pdev->dev, gsi, trigger, polarity);
209 if (ret < 0)
210 return ret;
211
212 *irq = ret;
213
214 return 0;
215 }
216
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-09-11 2:33 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=202609111011.7NQxSpZ0-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.