All of lore.kernel.org
 help / color / mirror / Atom feed
* [ardb:x86-efi-zboot 28/29] drivers/firmware/efi/libstub/x86-stub.c:1059:13: error: call to undeclared function 'early_is_sevsnp_guest'; ISO C99 and later do not support implicit function declarations
@ 2025-12-27 15:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-27 15:07 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git x86-efi-zboot
head:   b6f238d2e8720acf63467aa0d48d7fc4e31c07c2
commit: 7a69275e4b87b5b7a64423c76234bb7d8da60107 [28/29] x86/boot: Move memory acceptance logic into the EFI stub
config: x86_64-randconfig-006-20251227 (https://download.01.org/0day-ci/archive/20251227/202512272254.zE43KBLL-lkp@intel.com/config)
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/20251227/202512272254.zE43KBLL-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/202512272254.zE43KBLL-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/firmware/efi/libstub/x86-stub.c:1059:13: error: call to undeclared function 'early_is_sevsnp_guest'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1059 |         } else if (early_is_sevsnp_guest()) {
         |                    ^
   drivers/firmware/efi/libstub/x86-stub.c:1059:13: note: did you mean 'early_is_tdx_guest'?
   drivers/firmware/efi/libstub/x86-stub.c:1034:13: note: 'early_is_tdx_guest' declared here
    1034 | static bool early_is_tdx_guest(void)
         |             ^
   1 error generated.


vim +/early_is_sevsnp_guest +1059 drivers/firmware/efi/libstub/x86-stub.c

  1052	
  1053	void arch_accept_memory(phys_addr_t start, phys_addr_t end)
  1054	{
  1055		/* Platform-specific memory-acceptance call goes here */
  1056		if (early_is_tdx_guest()) {
  1057			if (!tdx_accept_memory(start, end))
  1058				panic("TDX: Failed to accept memory\n");
> 1059		} else if (early_is_sevsnp_guest()) {

-- 
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:[~2025-12-27 15:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-27 15:07 [ardb:x86-efi-zboot 28/29] drivers/firmware/efi/libstub/x86-stub.c:1059:13: error: call to undeclared function 'early_is_sevsnp_guest'; ISO C99 and later do not support implicit function declarations 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.