* [linux-rt-devel:linux-5.9.y-rt-rebase 12/220] arch/powerpc/kexec/crash.c:315:2: error: implicit declaration of function 'printk_nmi_enter'; did you mean
@ 2020-09-28 17:57 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-09-28 17:57 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3341 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-5.9.y-rt-rebase
head: 9dd5279e0cf53370afb4b4982d7eecb230471932
commit: 7bed8a05950e3858b4e0d8147e0459a79b750ae8 [12/220] printk_safe: remove printk safe code
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.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/rt/linux-rt-devel.git/commit/?id=7bed8a05950e3858b4e0d8147e0459a79b750ae8
git remote add linux-rt-devel https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
git fetch --no-tags linux-rt-devel linux-5.9.y-rt-rebase
git checkout 7bed8a05950e3858b4e0d8147e0459a79b750ae8
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arch/powerpc/kexec/crash.c: In function 'default_machine_crash_shutdown':
>> arch/powerpc/kexec/crash.c:315:2: error: implicit declaration of function 'printk_nmi_enter'; did you mean 'print_tainted'? [-Werror=implicit-function-declaration]
315 | printk_nmi_enter();
| ^~~~~~~~~~~~~~~~
| print_tainted
arch/powerpc/kexec/crash.c: In function 'crash_kexec_prepare_cpus.isra.0':
arch/powerpc/kexec/crash.c:107:15: warning: variable 'ncpus' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
107 | unsigned int ncpus = num_online_cpus() - 1;/* Excluding the panic cpu */
| ^~~~~
arch/powerpc/kexec/crash.c:108:6: warning: variable 'tries' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
108 | int tries = 0;
| ^~~~~
cc1: some warnings being treated as errors
vim +315 arch/powerpc/kexec/crash.c
496b010e1e70a9b arch/powerpc/kernel/crash.c Michael Neuling 2008-01-18 308
cc53291521701f9 arch/powerpc/kernel/crash.c Michael Ellerman 2005-12-04 309 void default_machine_crash_shutdown(struct pt_regs *regs)
cc53291521701f9 arch/powerpc/kernel/crash.c Michael Ellerman 2005-12-04 310 {
496b010e1e70a9b arch/powerpc/kernel/crash.c Michael Neuling 2008-01-18 311 unsigned int i;
496b010e1e70a9b arch/powerpc/kernel/crash.c Michael Neuling 2008-01-18 312 int (*old_handler)(struct pt_regs *regs);
496b010e1e70a9b arch/powerpc/kernel/crash.c Michael Neuling 2008-01-18 313
af2876b501e42c3 arch/powerpc/kexec/crash.c Leonardo Bras 2020-05-12 314 /* Avoid hardlocking with irresponsive CPU holding logbuf_lock */
af2876b501e42c3 arch/powerpc/kexec/crash.c Leonardo Bras 2020-05-12 @315 printk_nmi_enter();
:::::: The code at line 315 was first introduced by commit
:::::: af2876b501e42c3fb5174cac9dd02598436f0fdf powerpc/crash: Use NMI context for printk when starting to crash
:::::: TO: Leonardo Bras <leobras.c@gmail.com>
:::::: CC: Michael Ellerman <mpe@ellerman.id.au>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 70374 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-28 17:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-28 17:57 [linux-rt-devel:linux-5.9.y-rt-rebase 12/220] arch/powerpc/kexec/crash.c:315:2: error: implicit declaration of function 'printk_nmi_enter'; did you mean kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.