[ardb:for-kernelci 10/30] drivers/firmware/efi/libstub/zboot.c:47:23: warning: no previous prototype for 'efi_zboot_entry'
From: kernel test robot
Date: Mon Aug 22 2022 - 11:36:54 EST
tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git for-kernelci
head: 7a0f96975fe1b1ce53deba8c5a0b47d2d5e25cb7
commit: 0b28daf254f3affc5b04e93e804e8dd1333abf7a [10/30] efi/libstub: implement generic EFI zboot
config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20220822/202208222322.17taWGXs-lkp@xxxxxxxxx/config)
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=0b28daf254f3affc5b04e93e804e8dd1333abf7a
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb for-kernelci
git checkout 0b28daf254f3affc5b04e93e804e8dd1333abf7a
# 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/efi/libstub/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All warnings (new ones prefixed by >>):
>> drivers/firmware/efi/libstub/zboot.c:47:23: warning: no previous prototype for 'efi_zboot_entry' [-Wmissing-prototypes]
47 | efi_status_t __efiapi efi_zboot_entry(efi_handle_t handle,
| ^~~~~~~~~~~~~~~
vim +/efi_zboot_entry +47 drivers/firmware/efi/libstub/zboot.c
46
> 47 efi_status_t __efiapi efi_zboot_entry(efi_handle_t handle,
--
0-DAY CI Kernel Test Service
https://01.org/lkp