tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 493ffd6605b2d3d4dc7008ab927dba319f36671f commit: a050910972bb25152b42ad2e544652117c5ad915 efi/libstub: implement generic EFI zboot date: 3 weeks ago config: loongarch-randconfig-s042-20221010 compiler: loongarch64-linux-gcc (GCC) 12.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a050910972bb25152b42ad2e544652117c5ad915 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout a050910972bb25152b42ad2e544652117c5ad915 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=loongarch SHELL=/bin/bash drivers/firmware/efi/libstub/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/firmware/efi/libstub/zboot.c:163:1: sparse: sparse: symbol 'efi_zboot_entry' was not declared. Should it be static? vim +/efi_zboot_entry +163 drivers/firmware/efi/libstub/zboot.c 161 162 asmlinkage efi_status_t __efiapi > 163 efi_zboot_entry(efi_handle_t handle, efi_system_table_t *systab) -- 0-DAY CI Kernel Test Service https://01.org/lkp