Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [ardb:efi-libstub-native-utf16 7/9] drivers/firmware/efi/libstub/vsprintf.c:251:5: warning: no previous prototype for function 'efi_vsnprintf'
@ 2026-09-08  4:58 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-08  4:58 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-libstub-native-utf16
head:   c23f326a96b5293512720f389c597f967132c334
commit: b556b4a52f0a9b57d906dbb3bd63cebe6159e3e7 [7/9] efi/libstub: Output UTF-16 directly from vsnprintf()
config: riscv-allyesconfig (https://download.01.org/0day-ci/archive/20260908/202609081226.euFZ5X8V-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 2362eeb5f75560740146975e9eabe84c6bd25a0d)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260908/202609081226.euFZ5X8V-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/202609081226.euFZ5X8V-lkp@intel.com/

All warnings (new ones prefixed by >>):

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


vim +/efi_vsnprintf +251 drivers/firmware/efi/libstub/vsprintf.c

   250	
 > 251	int efi_vsnprintf(efi_char16_t *buf, size_t size, const char *fmt, va_list ap,

--
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-08  4:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-08  4:58 [ardb:efi-libstub-native-utf16 7/9] drivers/firmware/efi/libstub/vsprintf.c:251:5: warning: no previous prototype for function 'efi_vsnprintf' 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