tree: https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next head: d6e40eca3ddb5408148b8875e18dd54384aaa796 commit: 4e3a2778404ecb47665318addc8092f5b749efb4 [16/20] efi: Allow disabling PCI busmastering on bridges during boot config: arm64-alldefconfig (attached as .config) compiler: aarch64-linux-gcc (GCC) 7.5.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 4e3a2778404ecb47665318addc8092f5b749efb4 # save the attached .config to linux build tree GCC_VERSION=7.5.0 make.cross ARCH=arm64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): In file included from drivers/firmware/efi/libstub/pci.c:12:0: drivers/firmware/efi/libstub/pci.c: In function 'efi_pci_disable_bridge_busmaster': >> arch/arm64/include/asm/efi.h:96:32: warning: 'pci_handle' is used uninitialized in this function [-Wuninitialized] #define efi_bs_call(func, ...) efi_system_table()->boottime->func(__VA_ARGS__) ^~~~~~~~~~~~~~~~ -- In file included from drivers/firmware//efi/libstub/pci.c:12:0: drivers/firmware//efi/libstub/pci.c: In function 'efi_pci_disable_bridge_busmaster': >> arch/arm64/include/asm/efi.h:96:32: warning: 'pci_handle' is used uninitialized in this function [-Wuninitialized] #define efi_bs_call(func, ...) efi_system_table()->boottime->func(__VA_ARGS__) ^~~~~~~~~~~~~~~~ vim +/pci_handle +96 arch/arm64/include/asm/efi.h a13b00778e89c4 Ard Biesheuvel 2014-07-02 95 966291f6344d7e Ard Biesheuvel 2019-12-24 @96 #define efi_bs_call(func, ...) efi_system_table()->boottime->func(__VA_ARGS__) 966291f6344d7e Ard Biesheuvel 2019-12-24 97 #define efi_rt_call(func, ...) efi_system_table()->runtime->func(__VA_ARGS__) f958efe9759683 Ard Biesheuvel 2019-12-24 98 #define efi_is_native() (true) a13b00778e89c4 Ard Biesheuvel 2014-07-02 99 :::::: The code at line 96 was first introduced by commit :::::: 966291f6344d7eb6fc3204381a426bafa20a3d18 efi/libstub: Rename efi_call_early/_runtime macros to be more intuitive :::::: TO: Ard Biesheuvel <ardb@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