CC: [email protected] CC: [email protected] TO: John Ogness <[email protected]> CC: Petr Mladek <[email protected]>
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 <[email protected]> Reported-by: Dan Carpenter <[email protected]> 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/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
