[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202212052132.OMD6J5tg-lkp@intel.com>
Date: Mon, 5 Dec 2022 21:49:33 +0800
From: kernel test robot <lkp@...el.com>
To: Christophe Leroy <christophe.leroy@...roup.eu>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Michael Ellerman <mpe@...erman.id.au>
Subject: arch/powerpc/mm/nohash/e500.c:314:21: error: no previous prototype
for 'relocate_init'
Hi Christophe,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 76dcd734eca23168cb008912c0f69ff408905235
commit: 3e7318584dfec11992f3ac45658c4bc1210b3778 powerpc: Remove CONFIG_PPC_FSL_BOOK3E
date: 2 months ago
config: powerpc-randconfig-r002-20221204
compiler: powerpc-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/torvalds/linux.git/commit/?id=3e7318584dfec11992f3ac45658c4bc1210b3778
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 3e7318584dfec11992f3ac45658c4bc1210b3778
# 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=powerpc SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> arch/powerpc/mm/nohash/e500.c:314:21: error: no previous prototype for 'relocate_init' [-Werror=missing-prototypes]
314 | notrace void __init relocate_init(u64 dt_ptr, phys_addr_t start)
| ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/relocate_init +314 arch/powerpc/mm/nohash/e500.c
dd189692d40948d arch/powerpc/mm/fsl_booke_mmu.c Kevin Hao 2013-12-24 311
dd189692d40948d arch/powerpc/mm/fsl_booke_mmu.c Kevin Hao 2013-12-24 312 #ifdef CONFIG_RELOCATABLE
7d2471f9fa85089 arch/powerpc/mm/fsl_booke_mmu.c Kevin Hao 2013-12-24 313 int __initdata is_second_reloc;
7d2471f9fa85089 arch/powerpc/mm/fsl_booke_mmu.c Kevin Hao 2013-12-24 @314 notrace void __init relocate_init(u64 dt_ptr, phys_addr_t start)
:::::: The code at line 314 was first introduced by commit
:::::: 7d2471f9fa85089beb1cb9436ffc28f9e11e518d powerpc/fsl_booke: make sure PAGE_OFFSET map to memstart_addr for relocatable kernel
:::::: TO: Kevin Hao <haokexin@...il.com>
:::::: CC: Scott Wood <scottwood@...escale.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (207300 bytes)
Powered by blists - more mailing lists