[efi:next 1/4] drivers/firmware//efi/libstub/tpm.c:23:0: warning: "get_efi_var" redefined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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@xxxxxxxxxx>
:::::: CC: Ingo Molnar <mingo@xxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux