CC: [email protected] BCC: [email protected] CC: [email protected] TO: Shakeel Butt <[email protected]> CC: Andrew Morton <[email protected]> CC: Linux Memory Management List <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1831fed559732b132aef0ea8261ac77e73f7eadf commit: fd25a9e0e23b995fd0ba5e2f00a1099452cbc3cf memcg: unify memcg stat flushing date: 5 months ago :::::: branch date: 9 hours ago :::::: commit date: 5 months ago config: m68k-randconfig-m031-20220408 (https://download.01.org/0day-ci/archive/20220408/[email protected]/config) compiler: m68k-linux-gcc (GCC) 11.2.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: mm/memcontrol.c:670 __mem_cgroup_flush_stats() error: uninitialized symbol 'flag'. vim +/flag +670 mm/memcontrol.c 11192d9c124d58d Shakeel Butt 2021-11-05 660 11192d9c124d58d Shakeel Butt 2021-11-05 661 static void __mem_cgroup_flush_stats(void) 11192d9c124d58d Shakeel Butt 2021-11-05 662 { fd25a9e0e23b995 Shakeel Butt 2021-11-05 663 unsigned long flag; fd25a9e0e23b995 Shakeel Butt 2021-11-05 664 fd25a9e0e23b995 Shakeel Butt 2021-11-05 665 if (!spin_trylock_irqsave(&stats_flush_lock, flag)) 11192d9c124d58d Shakeel Butt 2021-11-05 666 return; 11192d9c124d58d Shakeel Butt 2021-11-05 667 11192d9c124d58d Shakeel Butt 2021-11-05 668 cgroup_rstat_flush_irqsafe(root_mem_cgroup->css.cgroup); 11192d9c124d58d Shakeel Butt 2021-11-05 669 atomic_set(&stats_flush_threshold, 0); fd25a9e0e23b995 Shakeel Butt 2021-11-05 @670 spin_unlock_irqrestore(&stats_flush_lock, flag); 11192d9c124d58d Shakeel Butt 2021-11-05 671 } 11192d9c124d58d Shakeel Butt 2021-11-05 672 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
