* [rgushchin:memcontrol_v1.1 6/9] mm/memcontrol-v1.c:1475:6: warning: no previous prototype for 'mem_cgroup_oom_notify'
@ 2024-05-09 11:02 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-05-09 11:02 UTC (permalink / raw)
To: Roman Gushchin; +Cc: oe-kbuild-all
tree: https://github.com/rgushchin/linux.git memcontrol_v1.1
head: 4e1c777d2317dbb58d002c700e3c7b09bb4364ae
commit: bd76bb4b8e7feecffcbf151dc6a6809d4126efcf [6/9] mm: memcg: move cgroup v1 oom handling code into memcontrol-v1.c
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20240509/202405091859.wnBrRurA-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240509/202405091859.wnBrRurA-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/202405091859.wnBrRurA-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> mm/memcontrol-v1.c:1475:6: warning: no previous prototype for 'mem_cgroup_oom_notify' [-Wmissing-prototypes]
1475 | void mem_cgroup_oom_notify(struct mem_cgroup *memcg)
| ^~~~~~~~~~~~~~~~~~~~~
vim +/mem_cgroup_oom_notify +1475 mm/memcontrol-v1.c
d93eaf0623ab87 Roman Gushchin 2024-05-06 1474
d93eaf0623ab87 Roman Gushchin 2024-05-06 @1475 void mem_cgroup_oom_notify(struct mem_cgroup *memcg)
d93eaf0623ab87 Roman Gushchin 2024-05-06 1476 {
d93eaf0623ab87 Roman Gushchin 2024-05-06 1477 struct mem_cgroup *iter;
d93eaf0623ab87 Roman Gushchin 2024-05-06 1478
d93eaf0623ab87 Roman Gushchin 2024-05-06 1479 for_each_mem_cgroup_tree(iter, memcg)
d93eaf0623ab87 Roman Gushchin 2024-05-06 1480 mem_cgroup_oom_notify_cb(iter);
d93eaf0623ab87 Roman Gushchin 2024-05-06 1481 }
d93eaf0623ab87 Roman Gushchin 2024-05-06 1482
:::::: The code at line 1475 was first introduced by commit
:::::: d93eaf0623ab87511b49667b28956a4c33bc45f6 mm: memcg: move legacy memcg event code into memcontrol-v1.c
:::::: TO: Roman Gushchin <roman.gushchin@linux.dev>
:::::: CC: Roman Gushchin <roman.gushchin@linux.dev>
--
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-09 11:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-09 11:02 [rgushchin:memcontrol_v1.1 6/9] mm/memcontrol-v1.c:1475:6: warning: no previous prototype for 'mem_cgroup_oom_notify' 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).