From: kernel test robot <lkp@intel.com>
To: Ard Biesheuvel <ardb@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [ardb:x86-tdx-efistub 2/3] drivers/firmware/efi/libstub/x86-stub.c:1106:13: error: call to undeclared function 'early_is_sevsnp_guest'; ISO C99 and later do not support implicit function declarations
Date: Wed, 16 Sep 2026 16:51:58 +0800 [thread overview]
Message-ID: <202609161626.12YwpSKN-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git x86-tdx-efistub
head: dbd995955d7cd3afb151e05449c3571295cdef92
commit: f9d03e512d573e1b021b2b8c38d2490b87eaf9e1 [2/3] x86/boot: Move unaccepted memory handling out of the decompressor
config: x86_64-randconfig-071-20260916 (https://download.01.org/0day-ci/archive/20260916/202609161626.12YwpSKN-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260916/202609161626.12YwpSKN-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/202609161626.12YwpSKN-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/firmware/efi/libstub/x86-stub.c:1106:13: error: call to undeclared function 'early_is_sevsnp_guest'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1106 | } else if (early_is_sevsnp_guest()) {
| ^
drivers/firmware/efi/libstub/x86-stub.c:1106:13: note: did you mean 'early_is_tdx_guest'?
drivers/firmware/efi/libstub/x86-stub.c:1081:13: note: 'early_is_tdx_guest' declared here
1081 | static bool early_is_tdx_guest(void)
| ^
1 error generated.
vim +/early_is_sevsnp_guest +1106 drivers/firmware/efi/libstub/x86-stub.c
1100
1101 void arch_accept_memory(phys_addr_t start, phys_addr_t end)
1102 {
1103 if (early_is_tdx_guest()) {
1104 if (!tdx_accept_memory(start, end))
1105 tdx_panic("Failed to accept memory");
> 1106 } else if (early_is_sevsnp_guest()) {
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-09-16 8:52 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=202609161626.12YwpSKN-lkp@intel.com \
--to=lkp@intel.com \
--cc=ardb@kernel.org \
--cc=llvm@lists.linux.dev \
--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.