tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git efi-zboot-direct head: c4954c4853a50dbfefd1beb56d466ab612164ae2 commit: 381bd73358536b5470c170542b37e95311b7ea45 [34/35] efi/loongarch: libstub: Split off kernel image relocation for builtin 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=381bd73358536b5470c170542b37e95311b7ea45 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 381bd73358536b5470c170542b37e95311b7ea45 # 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/loongarch.c:40:22: warning: no previous prototype for 'kernel_entry_offset' [-Wmissing-prototypes] 40 | unsigned long __weak kernel_entry_offset(void) | ^~~~~~~~~~~~~~~~~~~ vim +/kernel_entry_offset +40 drivers/firmware/efi/libstub/loongarch.c 39 > 40 unsigned long __weak kernel_entry_offset(void) 41 { 42 /* the offset to the branch-to-entrypoint instruction in the header */ 43 return 4; 44 } 45 -- 0-DAY CI Kernel Test Service https://01.org/lkp