[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202208272044.kV41yO8J-lkp@intel.com>
Date: Sat, 27 Aug 2022 20:21:29 +0800
From: kernel test robot <lkp@...el.com>
To: Ard Biesheuvel <ardb@...nel.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [ardb:efi-decompressor-v4 6/10]
drivers/firmware/efi/libstub/zboot.c:161:23: warning: no previous prototype
for function 'efi_zboot_entry'
tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git efi-decompressor-v4
head: efcc03a013f2ddbed0ee782e5049b39432dc9db2
commit: d2c8eb1ea770556c25e2b5d884bf6bba32940bf2 [6/10] efi/libstub: implement generic EFI zboot
config: riscv-randconfig-r042-20220825 (https://download.01.org/0day-ci/archive/20220827/202208272044.kV41yO8J-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project a2100daf12fb980a29fd1a9c85ccf8eaaaf79730)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=d2c8eb1ea770556c25e2b5d884bf6bba32940bf2
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb efi-decompressor-v4
git checkout d2c8eb1ea770556c25e2b5d884bf6bba32940bf2
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/firmware/efi/libstub/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/firmware/efi/libstub/zboot.c:161:23: warning: no previous prototype for function 'efi_zboot_entry' [-Wmissing-prototypes]
efi_status_t __efiapi efi_zboot_entry(efi_handle_t handle,
^
drivers/firmware/efi/libstub/zboot.c:161:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
efi_status_t __efiapi efi_zboot_entry(efi_handle_t handle,
^
static
1 warning generated.
vim +/efi_zboot_entry +161 drivers/firmware/efi/libstub/zboot.c
160
> 161 efi_status_t __efiapi efi_zboot_entry(efi_handle_t handle,
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists