kbuild Development List
 help / color / mirror / Atom feed
* drivers/firmware/efi/libstub/vsprintf.c:511:5: warning: no previous prototype for function 'efi_snprintf'
@ 2026-09-09  7:00 kernel test robot
  2026-09-09  7:12 ` Ard Biesheuvel
  0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2026-09-09  7:00 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: oe-kbuild-all, 0day robot

tree:   https://github.com/intel-lab-lkp/linux/commits/Ard-Biesheuvel/x86-boot-Drop-pointless-re-implementation-of-panic/20260906-150819
head:   c551ec0edb0b057c415d5530905c288523a9bde8
commit: c551ec0edb0b057c415d5530905c288523a9bde8 efi/libstub: Add efi_snprintf() to construct wide strings
date:   3 days ago
config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20260909/202609090804.938npPl7-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260909/202609090804.938npPl7-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/202609090804.938npPl7-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/firmware/efi/libstub/vsprintf.c:274:5: warning: no previous prototype for function 'efi_vsnprintf' [-Wmissing-prototypes]
     274 | int efi_vsnprintf(efi_char16_t *buf, size_t size, const char *fmt, va_list ap,
         |     ^
   drivers/firmware/efi/libstub/vsprintf.c:274:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     274 | int efi_vsnprintf(efi_char16_t *buf, size_t size, const char *fmt, va_list ap,
         | ^
         | static 
>> drivers/firmware/efi/libstub/vsprintf.c:511:5: warning: no previous prototype for function 'efi_snprintf' [-Wmissing-prototypes]
     511 | int efi_snprintf(efi_char16_t *buf, size_t size, const char *fmt, ...)
         |     ^
   drivers/firmware/efi/libstub/vsprintf.c:511:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     511 | int efi_snprintf(efi_char16_t *buf, size_t size, const char *fmt, ...)
         | ^
         | static 
   2 warnings generated.


vim +/efi_snprintf +511 drivers/firmware/efi/libstub/vsprintf.c

   510	
 > 511	int efi_snprintf(efi_char16_t *buf, size_t size, const char *fmt, ...)

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-09-09  7:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-09  7:00 drivers/firmware/efi/libstub/vsprintf.c:511:5: warning: no previous prototype for function 'efi_snprintf' kernel test robot
2026-09-09  7:12 ` Ard Biesheuvel
2026-09-09  7:44   ` Philip Li
2026-09-09  7:47     ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox