Re: [PATCH] mm: memcg-v1: make mem_cgroup_oom_notify_cb() return void
Shakeel Butt <[email protected]>
| Newsgroups | org.kernel.vger.cgroups,org.kernel.vger.linux-kernel,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jul 13, 2026 at 05:37:37PM +0800, Guopeng Zhang wrote: > From: Guopeng Zhang <[email protected]> > > Commit 7d74b06f240f ("memcg: use for_each_mem_cgroup") replaced the > mem_cgroup_walk_tree() call in mem_cgroup_oom_notify() with > for_each_mem_cgroup_tree(), but left mem_cgroup_oom_notify_cb() with the > int return type required by the old callback interface. > > The function now has a single direct caller and no failure path. Make it > return void. > > Signed-off-by: Guopeng Zhang <[email protected]> Acked-by: Shakeel Butt <[email protected]>