All of lore.kernel.org
 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

* Re: drivers/firmware/efi/libstub/vsprintf.c:511:5: warning: no previous prototype for function 'efi_snprintf'
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Ard Biesheuvel @ 2026-09-09  7:12 UTC (permalink / raw)
  To: kernel test robot; +Cc: oe-kbuild-all

Please stop spamming me with reports about code that appeared
on one of my branches for a brief period, was apparently pulled
into some intel LKP branch but was never submitted by me for any
kind of review.

Thanks.


On Wed, 9 Sep 2026, at 09:00, kernel test robot wrote:
> 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

* Re: drivers/firmware/efi/libstub/vsprintf.c:511:5: warning: no previous prototype for function 'efi_snprintf'
  2026-09-09  7:12 ` Ard Biesheuvel
@ 2026-09-09  7:44   ` Philip Li
  2026-09-09  7:47     ` Ard Biesheuvel
  0 siblings, 1 reply; 4+ messages in thread
From: Philip Li @ 2026-09-09  7:44 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: kernel test robot, oe-kbuild-all

On Wed, Sep 09, 2026 at 09:12:46AM +0200, Ard Biesheuvel wrote:
> Please stop spamming me with reports about code that appeared
> on one of my branches for a brief period, was apparently pulled
> into some intel LKP branch but was never submitted by me for any
> kind of review.

Sorry for the spam, I will configure the bot to avoid sending such
report.

> 
> Thanks.
> 
> 
> On Wed, 9 Sep 2026, at 09:00, kernel test robot wrote:
> > 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

* Re: drivers/firmware/efi/libstub/vsprintf.c:511:5: warning: no previous prototype for function 'efi_snprintf'
  2026-09-09  7:44   ` Philip Li
@ 2026-09-09  7:47     ` Ard Biesheuvel
  0 siblings, 0 replies; 4+ messages in thread
From: Ard Biesheuvel @ 2026-09-09  7:47 UTC (permalink / raw)
  To: Philip Li; +Cc: kernel test robot, oe-kbuild-all



On Wed, 9 Sep 2026, at 09:44, Philip Li wrote:
> On Wed, Sep 09, 2026 at 09:12:46AM +0200, Ard Biesheuvel wrote:
>> Please stop spamming me with reports about code that appeared
>> on one of my branches for a brief period, was apparently pulled
>> into some intel LKP branch but was never submitted by me for any
>> kind of review.
>
> Sorry for the spam, I will configure the bot to avoid sending such
> report.
>

Thank you Philip.


>> 
>> Thanks.
>> 
>> 
>> On Wed, 9 Sep 2026, at 09:00, kernel test robot wrote:
>> > 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 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.