* [printk:rework/printk_safe-removal 1/6] lib/nmi_backtrace.c:106 nmi_cpu_backtrace() error: uninitialized symbol 'flags'.
@ 2021-07-27 7:56 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-27 7:56 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2322 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: John Ogness <john.ogness@linutronix.de>
CC: Petr Mladek <pmladek@suse.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git rework/printk_safe-removal
head: 8d909b2333f37e5da84a9e6a2cbe21f52be5f42a
commit: 55d6af1d66885059ffc2ac23083de52d12be63bb [1/6] lib/nmi_backtrace: explicitly serialize banner and regs
:::::: branch date: 19 hours ago
:::::: commit date: 19 hours ago
config: i386-randconfig-m021-20210726 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch warnings:
lib/nmi_backtrace.c:106 nmi_cpu_backtrace() error: uninitialized symbol 'flags'.
vim +/flags +106 lib/nmi_backtrace.c
160c7ba34605d9 Paul E. McKenney 2020-07-08 91
b2c0b2cbb282f0 Russell King 2014-09-03 92 bool nmi_cpu_backtrace(struct pt_regs *regs)
b2c0b2cbb282f0 Russell King 2014-09-03 93 {
b2c0b2cbb282f0 Russell King 2014-09-03 94 int cpu = smp_processor_id();
55d6af1d668850 John Ogness 2021-07-15 95 unsigned long flags;
b2c0b2cbb282f0 Russell King 2014-09-03 96
b2c0b2cbb282f0 Russell King 2014-09-03 97 if (cpumask_test_cpu(cpu, to_cpumask(backtrace_mask))) {
160c7ba34605d9 Paul E. McKenney 2020-07-08 98 if (!READ_ONCE(backtrace_idle) && regs && cpu_in_idle(instruction_pointer(regs))) {
2f9b7e08cb27d6 Liu, Changcheng 2017-11-17 99 pr_warn("NMI backtrace for cpu %d skipped: idling at %pS\n",
2f9b7e08cb27d6 Liu, Changcheng 2017-11-17 100 cpu, (void *)instruction_pointer(regs));
6727ad9e206cc0 Chris Metcalf 2016-10-07 101 } else {
55d6af1d668850 John Ogness 2021-07-15 102 /*
55d6af1d668850 John Ogness 2021-07-15 103 * Allow nested NMI backtraces while serializing
55d6af1d668850 John Ogness 2021-07-15 104 * against other CPUs.
55d6af1d668850 John Ogness 2021-07-15 105 */
55d6af1d668850 John Ogness 2021-07-15 @106 printk_cpu_lock_irqsave(flags);
---
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: 30087 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-27 7:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-27 7:56 [printk:rework/printk_safe-removal 1/6] lib/nmi_backtrace.c:106 nmi_cpu_backtrace() error: uninitialized symbol 'flags' 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.