* [rgushchin:memcontrol_v1.1 4/5] mm/internal.h:1527:17: error: implicit declaration of function 'cgroup_subsys_on_dfl'
@ 2024-05-08 3:32 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-05-08 3:32 UTC (permalink / raw)
To: Roman Gushchin; +Cc: oe-kbuild-all
tree: https://github.com/rgushchin/linux.git memcontrol_v1.1
head: 9a677688ef8b39a000f682ac9bfb46453fd94685
commit: 8725b3ac18d0ce3a4cba970cfd0d28286a0b182e [4/5] mm: memcg: move legacy memcg event code into memcontrol-v1.c
config: arc-allnoconfig (https://download.01.org/0day-ci/archive/20240508/202405081104.FJFLLCna-lkp@intel.com/config)
compiler: arc-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240508/202405081104.FJFLLCna-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405081104.FJFLLCna-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from mm/filemap.c:51:
mm/internal.h: In function 'do_memsw_account':
>> mm/internal.h:1527:17: error: implicit declaration of function 'cgroup_subsys_on_dfl' [-Werror=implicit-function-declaration]
1527 | return !cgroup_subsys_on_dfl(memory_cgrp_subsys);
| ^~~~~~~~~~~~~~~~~~~~
>> mm/internal.h:1527:38: error: 'memory_cgrp_subsys' undeclared (first use in this function)
1527 | return !cgroup_subsys_on_dfl(memory_cgrp_subsys);
| ^~~~~~~~~~~~~~~~~~
mm/internal.h:1527:38: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
--
In file included from mm/page-writeback.c:43:
mm/internal.h: In function 'do_memsw_account':
>> mm/internal.h:1527:17: error: implicit declaration of function 'cgroup_subsys_on_dfl' [-Werror=implicit-function-declaration]
1527 | return !cgroup_subsys_on_dfl(memory_cgrp_subsys);
| ^~~~~~~~~~~~~~~~~~~~
>> mm/internal.h:1527:38: error: 'memory_cgrp_subsys' undeclared (first use in this function)
1527 | return !cgroup_subsys_on_dfl(memory_cgrp_subsys);
| ^~~~~~~~~~~~~~~~~~
mm/internal.h:1527:38: note: each undeclared identifier is reported only once for each function it appears in
mm/page-writeback.c: In function 'cgwb_calc_thresh':
mm/page-writeback.c:900:39: warning: variable 'gdtc' set but not used [-Wunused-but-set-variable]
900 | struct dirty_throttle_control gdtc = { GDTC_INIT_NO_WB };
| ^~~~
cc1: some warnings being treated as errors
--
In file included from mm/slub.c:49:
mm/internal.h: In function 'do_memsw_account':
>> mm/internal.h:1527:17: error: implicit declaration of function 'cgroup_subsys_on_dfl' [-Werror=implicit-function-declaration]
1527 | return !cgroup_subsys_on_dfl(memory_cgrp_subsys);
| ^~~~~~~~~~~~~~~~~~~~
>> mm/internal.h:1527:38: error: 'memory_cgrp_subsys' undeclared (first use in this function)
1527 | return !cgroup_subsys_on_dfl(memory_cgrp_subsys);
| ^~~~~~~~~~~~~~~~~~
mm/internal.h:1527:38: note: each undeclared identifier is reported only once for each function it appears in
mm/slub.c: In function 'slab_post_alloc_hook':
mm/slub.c:3831:29: warning: variable 'obj_exts' set but not used [-Wunused-but-set-variable]
3831 | struct slabobj_ext *obj_exts;
| ^~~~~~~~
cc1: some warnings being treated as errors
vim +/cgroup_subsys_on_dfl +1527 mm/internal.h
1523
1524 /* Whether legacy memory+swap accounting is active */
1525 static inline bool do_memsw_account(void)
1526 {
> 1527 return !cgroup_subsys_on_dfl(memory_cgrp_subsys);
1528 }
1529
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-05-08 3:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-08 3:32 [rgushchin:memcontrol_v1.1 4/5] mm/internal.h:1527:17: error: implicit declaration of function 'cgroup_subsys_on_dfl' kernel 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).