Re: [PATCH] x86/efi: error handling on efi memory map

From: kernel test robot
Date: Sun Jun 08 2025 - 09:23:15 EST


Hi Khalid,

kernel test robot noticed the following build errors:

[auto build test ERROR on efi/next]
[also build test ERROR on tip/master tip/auto-latest linus/master v6.15 next-20250606]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Khalid-Ali/x86-efi-error-handling-on-efi-memory-map/20250608-170711
base: https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next
patch link: https://lore.kernel.org/r/20250608090356.1115-1-khaliidcaliy%40gmail.com
patch subject: [PATCH] x86/efi: error handling on efi memory map
config: i386-buildonly-randconfig-002-20250608 (https://download.01.org/0day-ci/archive/20250608/202506082104.4eSjYWTe-lkp@xxxxxxxxx/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250608/202506082104.4eSjYWTe-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506082104.4eSjYWTe-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> arch/x86/platform/efi/efi_32.c:90:13: error: conflicting types for 'efi_map_region_fixed'
90 | void __init efi_map_region_fixed(efi_memory_desc_t *md) {}
| ^
arch/x86/include/asm/efi.h:131:19: note: previous declaration is here
131 | extern int __init efi_map_region_fixed(efi_memory_desc_t *md);
| ^
1 error generated.


vim +/efi_map_region_fixed +90 arch/x86/platform/efi/efi_32.c

d2f7cbe7b26a74 Borislav Petkov 2013-10-31 89
3b2664964bc886 Dave Young 2013-12-20 @90 void __init efi_map_region_fixed(efi_memory_desc_t *md) {}
1fec0533693cd7 Dave Young 2013-12-20 91 void __init parse_efi_setup(u64 phys_addr, u32 data_len) {}
3b2664964bc886 Dave Young 2013-12-20 92

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki