* [ardb:efi-panic 11/11] drivers/firmware/efi/libstub/efi-stub-helper.c:841:3: error: use of undeclared identifier 'messsage'; did you mean 'message'?
@ 2026-09-24 16:29 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-24 16:29 UTC (permalink / raw)
To: Ard Biesheuvel; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git efi-panic
head: 26122a1889cbac101c0fabcddf161a87db4ba38c
commit: 26122a1889cbac101c0fabcddf161a87db4ba38c [11/11] efi/libstub: Implement efi_panic()
config: loongarch-defconfig (https://download.01.org/0day-ci/archive/20260925/202609250012.uKa5O0Sw-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 6e714c8d91116794cb699cdf80c26afe9cda3ef3)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260925/202609250012.uKa5O0Sw-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/202609250012.uKa5O0Sw-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/firmware/efi/libstub/efi-stub-helper.c:826:54: warning: more '%' conversions than data arguments [-Wformat-insufficient-args]
826 | efi_warn("Found panic report from previous boot (%lu bytes)\n");
| ~~^
drivers/firmware/efi/libstub/efistub.h:77:38: note: expanded from macro 'efi_warn'
77 | efi_printk(KERN_WARNING "WARNING: " fmt, ##__VA_ARGS__)
| ^~~
drivers/firmware/efi/libstub/efi-stub-helper.c:838:49: warning: format specifies type 'double' but the argument has type 'const char *' [-Wformat]
838 | efi_err("%a(): Failed to allocate memory\n", __func__);
| ~~ ^~~~~~~~
| %s
drivers/firmware/efi/libstub/efistub.h:79:39: note: expanded from macro 'efi_err'
79 | efi_printk(KERN_ERR "ERROR: " fmt, ##__VA_ARGS__)
| ~~~ ^~~~~~~~~~~
>> drivers/firmware/efi/libstub/efi-stub-helper.c:841:3: error: use of undeclared identifier 'messsage'; did you mean 'message'?
841 | messsage = p;
| ^~~~~~~~
| message
drivers/firmware/efi/libstub/efi-stub-helper.c:811:22: note: 'message' declared here
811 | const efi_char16_t *message;
| ^
drivers/firmware/efi/libstub/efi-stub-helper.c:809:6: warning: no previous prototype for function 'efi_check_panic' [-Wmissing-prototypes]
809 | void efi_check_panic(void)
| ^
drivers/firmware/efi/libstub/efi-stub-helper.c:809:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
809 | void efi_check_panic(void)
| ^
| static
3 warnings and 1 error generated.
vim +841 drivers/firmware/efi/libstub/efi-stub-helper.c
808
809 void efi_check_panic(void)
810 {
811 const efi_char16_t *message;
812 void *p;
813
814 p = get_efi_config_table(capsule_header.guid);
815
816 if (p) {
817 message = p + sizeof(efi_capsule_header_t);
818 } else {
819 unsigned long size = 0;
820 efi_status_t status;
821
822 get_efi_var(panic_reason, &capsule_header.guid, NULL, &size, NULL);
823 if (!size)
824 return;
825
826 efi_warn("Found panic report from previous boot (%lu bytes)\n");
827
828 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, size, &p);
829 if (status == EFI_SUCCESS)
830 get_efi_var(panic_reason, &capsule_header.guid, NULL, &size, p);
831
832 /* clear the reason even on allocation failure */
833 set_efi_var(panic_reason, &capsule_header.guid,
834 EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE,
835 0, NULL);
836
837 if (status != EFI_SUCCESS) {
838 efi_err("%a(): Failed to allocate memory\n", __func__);
839 return;
840 }
> 841 messsage = p;
--
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-24 16:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-24 16:29 [ardb:efi-panic 11/11] drivers/firmware/efi/libstub/efi-stub-helper.c:841:3: error: use of undeclared identifier 'messsage'; did you mean 'message'? kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox