[linux-next:master 6841/7780] mm/memcontrol.c:5682:30: error: 'CGRP_GROUP_OOM' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   1c34981993da96711f8c7037e0391df7daa33df9
commit: f5180e2e08ede6f4901788fa6335295acd0a0112 [6841/7780] mm, oom: return error on access to memory.oom_group if groupoom is disabled
config: x86_64-randconfig-ne0-07171435 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
        git checkout f5180e2e08ede6f4901788fa6335295acd0a0112
        # save the attached .config to linux build tree
        make ARCH=x86_64 

Note: the linux-next/master HEAD 1c34981993da96711f8c7037e0391df7daa33df9 builds fine.
      It may have been fixed somewhere.

All errors (new ones prefixed by >>):

   mm/memcontrol.c: In function 'memory_oom_group_show':
>> mm/memcontrol.c:5682:30: error: 'CGRP_GROUP_OOM' undeclared (first use in this function)
     if (!(cgrp_dfl_root.flags & CGRP_GROUP_OOM))
                                 ^~~~~~~~~~~~~~
   mm/memcontrol.c:5682:30: note: each undeclared identifier is reported only once for each function it appears in
   mm/memcontrol.c: In function 'memory_oom_group_write':
   mm/memcontrol.c:5698:30: error: 'CGRP_GROUP_OOM' undeclared (first use in this function)
     if (!(cgrp_dfl_root.flags & CGRP_GROUP_OOM))
                                 ^~~~~~~~~~~~~~

vim +/CGRP_GROUP_OOM +5682 mm/memcontrol.c

  5676	
  5677	static int memory_oom_group_show(struct seq_file *m, void *v)
  5678	{
  5679		struct mem_cgroup *memcg = mem_cgroup_from_css(seq_css(m));
  5680		bool oom_group = memcg->oom_group;
  5681	
> 5682		if (!(cgrp_dfl_root.flags & CGRP_GROUP_OOM))
  5683			return -ENOTSUPP;
  5684	
  5685		seq_printf(m, "%d\n", oom_group);
  5686	
  5687		return 0;
  5688	}
  5689	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux