tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git efi-zboot-direct head: c4954c4853a50dbfefd1beb56d466ab612164ae2 commit: c4954c4853a50dbfefd1beb56d466ab612164ae2 [35/35] efi: libstub: Merge zboot decompressor with the ordinary stub config: loongarch-allyesconfig compiler: loongarch64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=c4954c4853a50dbfefd1beb56d466ab612164ae2 git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git git fetch --no-tags ardb efi-zboot-direct git checkout c4954c4853a50dbfefd1beb56d466ab612164ae2 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash drivers/firmware/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/firmware/efi/libstub/zboot.c:52:13: warning: no previous prototype for 'efi_cache_sync_image' [-Wmissing-prototypes] 52 | void __weak efi_cache_sync_image(unsigned long image_base, | ^~~~~~~~~~~~~~~~~~~~ drivers/firmware/efi/libstub/zboot.c:63:1: warning: no previous prototype for 'efi_zboot_entry' [-Wmissing-prototypes] 63 | efi_zboot_entry(efi_handle_t handle, efi_system_table_t *systab) | ^~~~~~~~~~~~~~~ vim +/efi_cache_sync_image +52 drivers/firmware/efi/libstub/zboot.c 51 > 52 void __weak efi_cache_sync_image(unsigned long image_base, 53 unsigned long alloc_size, 54 unsigned long code_size) 55 { 56 /* 57 * Provided by the arch to perform the cache maintenance necessary for 58 * executable code loaded into memory to be safe for execution. 59 */ 60 } 61 -- 0-DAY CI Kernel Test Service https://01.org/lkp