[linux-stable-rc:linux-5.4.y 2166/3542] arch/powerpc/kernel/smp.c:599:6: error: no previous prototype for 'crash_smp_send_stop'

From: kernel test robot
Date: Mon May 09 2022 - 21:26:14 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
head: 7dae5fe9ddc036e00696eb0f54f4e7cabc04bb81
commit: 2a8870f5cb2ab56fdf17ef219d9389061ca9a774 [2166/3542] powerpc: handle kdump appropriately with crash_kexec_post_notifiers option
config: powerpc-randconfig-r002-20220509 (https://download.01.org/0day-ci/archive/20220510/202205100902.Ey56VTam-lkp@xxxxxxxxx/config)
compiler: powerpc-linux-gcc (GCC) 11.3.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/stable/linux-stable-rc.git/commit/?id=2a8870f5cb2ab56fdf17ef219d9389061ca9a774
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-5.4.y
git checkout 2a8870f5cb2ab56fdf17ef219d9389061ca9a774
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

Note: the linux-stable-rc/linux-5.4.y HEAD 7dae5fe9ddc036e00696eb0f54f4e7cabc04bb81 builds fine.
It only hurts bisectability.

All errors (new ones prefixed by >>):

arch/powerpc/kernel/smp.c:539:6: error: no previous prototype for 'tick_broadcast' [-Werror=missing-prototypes]
539 | void tick_broadcast(const struct cpumask *mask)
| ^~~~~~~~~~~~~~
arch/powerpc/kernel/smp.c:549:6: error: no previous prototype for 'debugger_ipi_callback' [-Werror=missing-prototypes]
549 | void debugger_ipi_callback(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~
>> arch/powerpc/kernel/smp.c:599:6: error: no previous prototype for 'crash_smp_send_stop' [-Werror=missing-prototypes]
599 | void crash_smp_send_stop(void)
| ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors


vim +/crash_smp_send_stop +599 arch/powerpc/kernel/smp.c

598
> 599 void crash_smp_send_stop(void)
600 {
601 static bool stopped = false;
602
603 if (stopped)
604 return;
605
606 stopped = true;
607

--
0-DAY CI Kernel Test Service
https://01.org/lkp