CC: [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:   8ab774587903771821b59471cc723bba6d893942
commit: fd25a9e0e23b995fd0ba5e2f00a1099452cbc3cf memcg: unify memcg stat 
flushing
date:   9 days ago
:::::: branch date: 16 hours ago
:::::: commit date: 9 days ago
config: nios2-randconfig-m031-20211115 (attached as .config)
compiler: nios2-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]>

New smatch warnings:
mm/memcontrol.c:670 __mem_cgroup_flush_stats() error: uninitialized symbol 
'flag'.

Old smatch warnings:
arch/nios2/include/asm/thread_info.h:71 current_thread_info() error: 
uninitialized symbol 'sp'.

vim +/flag +670 mm/memcontrol.c

11192d9c124d58 Shakeel Butt 2021-11-05  660  
11192d9c124d58 Shakeel Butt 2021-11-05  661  static void 
__mem_cgroup_flush_stats(void)
11192d9c124d58 Shakeel Butt 2021-11-05  662  {
fd25a9e0e23b99 Shakeel Butt 2021-11-05  663     unsigned long flag;
fd25a9e0e23b99 Shakeel Butt 2021-11-05  664  
fd25a9e0e23b99 Shakeel Butt 2021-11-05  665     if 
(!spin_trylock_irqsave(&stats_flush_lock, flag))
11192d9c124d58 Shakeel Butt 2021-11-05  666             return;
11192d9c124d58 Shakeel Butt 2021-11-05  667  
11192d9c124d58 Shakeel Butt 2021-11-05  668     
cgroup_rstat_flush_irqsafe(root_mem_cgroup->css.cgroup);
11192d9c124d58 Shakeel Butt 2021-11-05  669     
atomic_set(&stats_flush_threshold, 0);
fd25a9e0e23b99 Shakeel Butt 2021-11-05 @670     
spin_unlock_irqrestore(&stats_flush_lock, flag);
11192d9c124d58 Shakeel Butt 2021-11-05  671  }
11192d9c124d58 Shakeel Butt 2021-11-05  672  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to