[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210132101.zsaB0jez-lkp@intel.com>
Date: Thu, 13 Oct 2022 21:49:08 +0800
From: kernel test robot <lkp@...el.com>
To: Ard Biesheuvel <ardb@...nel.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [ardb:efi-zboot-direct 34/35]
drivers/firmware/efi/libstub/loongarch.c:40:22: warning: no previous
prototype for 'kernel_entry_offset'
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 <lkp@...el.com>
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
View attachment "config" of type "text/plain" (325924 bytes)
Powered by blists - more mailing lists