All of lore.kernel.org
 help / color / mirror / Atom feed
* [efi:next 1/4] drivers/firmware//efi/libstub/tpm.c:23:0: warning: "get_efi_var" redefined
@ 2019-12-07 14:39 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2019-12-07 14:39 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: kbuild-all, linux-efi

[-- Attachment #1: Type: text/plain, Size: 2487 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next
head:   7a771207bf8bc02fc34ea1a86b7547408753fee8
commit: 7c298ef71800baab36fc3aa0df6c1b41f07ac139 [1/4] efi/libstub: read RuntimeServicesSupported EFI variable at boot
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-1) 7.5.0
reproduce:
        git checkout 7c298ef71800baab36fc3aa0df6c1b41f07ac139
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/firmware//efi/libstub/tpm.c:23:0: warning: "get_efi_var" redefined
    #define get_efi_var(name, vendor, ...) \
    
   In file included from drivers/firmware//efi/libstub/tpm.c:14:0:
   drivers/firmware//efi/libstub/efistub.h:79:0: note: this is the location of the previous definition
    #define get_efi_var(name, vendor, ...)      \
    

vim +/get_efi_var +23 drivers/firmware//efi/libstub/tpm.c

ccc829ba3624be Matthew Garrett   2017-08-25  15  
33b6d03469b220 Thiebaud Weksteen 2017-09-20  16  #ifdef CONFIG_RESET_ATTACK_MITIGATION
36b649760e9496 Ard Biesheuvel    2018-03-12  17  static const efi_char16_t efi_MemoryOverWriteRequest_name[] =
36b649760e9496 Ard Biesheuvel    2018-03-12  18  	L"MemoryOverwriteRequestControl";
ccc829ba3624be Matthew Garrett   2017-08-25  19  
ccc829ba3624be Matthew Garrett   2017-08-25  20  #define MEMORY_ONLY_RESET_CONTROL_GUID \
ccc829ba3624be Matthew Garrett   2017-08-25  21  	EFI_GUID(0xe20939be, 0x32d4, 0x41be, 0xa1, 0x50, 0x89, 0x7f, 0x85, 0xd4, 0x98, 0x29)
ccc829ba3624be Matthew Garrett   2017-08-25  22  
ccc829ba3624be Matthew Garrett   2017-08-25 @23  #define get_efi_var(name, vendor, ...) \
ccc829ba3624be Matthew Garrett   2017-08-25  24  	efi_call_runtime(get_variable, \
ccc829ba3624be Matthew Garrett   2017-08-25  25  			 (efi_char16_t *)(name), (efi_guid_t *)(vendor), \
ccc829ba3624be Matthew Garrett   2017-08-25  26  			 __VA_ARGS__)
ccc829ba3624be Matthew Garrett   2017-08-25  27  

:::::: The code at line 23 was first introduced by commit
:::::: ccc829ba3624beb9a703fc995d016b836d9eead8 efi/libstub: Enable reset attack mitigation

:::::: TO: Matthew Garrett <mjg59@google.com>
:::::: CC: Ingo Molnar <mingo@kernel.org>

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 71024 bytes --]

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

* [efi:next 1/4] drivers/firmware//efi/libstub/tpm.c:23:0: warning: "get_efi_var" redefined
@ 2019-12-07 14:39 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2019-12-07 14:39 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2537 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next
head:   7a771207bf8bc02fc34ea1a86b7547408753fee8
commit: 7c298ef71800baab36fc3aa0df6c1b41f07ac139 [1/4] efi/libstub: read RuntimeServicesSupported EFI variable at boot
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-1) 7.5.0
reproduce:
        git checkout 7c298ef71800baab36fc3aa0df6c1b41f07ac139
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/firmware//efi/libstub/tpm.c:23:0: warning: "get_efi_var" redefined
    #define get_efi_var(name, vendor, ...) \
    
   In file included from drivers/firmware//efi/libstub/tpm.c:14:0:
   drivers/firmware//efi/libstub/efistub.h:79:0: note: this is the location of the previous definition
    #define get_efi_var(name, vendor, ...)      \
    

vim +/get_efi_var +23 drivers/firmware//efi/libstub/tpm.c

ccc829ba3624be Matthew Garrett   2017-08-25  15  
33b6d03469b220 Thiebaud Weksteen 2017-09-20  16  #ifdef CONFIG_RESET_ATTACK_MITIGATION
36b649760e9496 Ard Biesheuvel    2018-03-12  17  static const efi_char16_t efi_MemoryOverWriteRequest_name[] =
36b649760e9496 Ard Biesheuvel    2018-03-12  18  	L"MemoryOverwriteRequestControl";
ccc829ba3624be Matthew Garrett   2017-08-25  19  
ccc829ba3624be Matthew Garrett   2017-08-25  20  #define MEMORY_ONLY_RESET_CONTROL_GUID \
ccc829ba3624be Matthew Garrett   2017-08-25  21  	EFI_GUID(0xe20939be, 0x32d4, 0x41be, 0xa1, 0x50, 0x89, 0x7f, 0x85, 0xd4, 0x98, 0x29)
ccc829ba3624be Matthew Garrett   2017-08-25  22  
ccc829ba3624be Matthew Garrett   2017-08-25 @23  #define get_efi_var(name, vendor, ...) \
ccc829ba3624be Matthew Garrett   2017-08-25  24  	efi_call_runtime(get_variable, \
ccc829ba3624be Matthew Garrett   2017-08-25  25  			 (efi_char16_t *)(name), (efi_guid_t *)(vendor), \
ccc829ba3624be Matthew Garrett   2017-08-25  26  			 __VA_ARGS__)
ccc829ba3624be Matthew Garrett   2017-08-25  27  

:::::: The code at line 23 was first introduced by commit
:::::: ccc829ba3624beb9a703fc995d016b836d9eead8 efi/libstub: Enable reset attack mitigation

:::::: TO: Matthew Garrett <mjg59@google.com>
:::::: CC: Ingo Molnar <mingo@kernel.org>

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 71024 bytes --]

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

end of thread, other threads:[~2019-12-07 14:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-07 14:39 [efi:next 1/4] drivers/firmware//efi/libstub/tpm.c:23:0: warning: "get_efi_var" redefined kbuild test robot
2019-12-07 14:39 ` kbuild 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.