* [linux-next:master 6841/7780] mm/memcontrol.c:5682:30: error: 'CGRP_GROUP_OOM' undeclared
@ 2018-07-19 17:45 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-07-19 17:45 UTC (permalink / raw)
To: Roman Gushchin; +Cc: kbuild-all, Andrew Morton, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 1895 bytes --]
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 #2: .config.gz --]
[-- Type: application/gzip, Size: 32761 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-07-19 17:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-19 17:45 [linux-next:master 6841/7780] mm/memcontrol.c:5682:30: error: 'CGRP_GROUP_OOM' undeclared kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).