mm: Fix a build breakage in memcontrol-v1.c
While adding a deprecation message,fd4fd0a869("mm: Add transformation message for per-memcg swappiness") missed the semicolon after the new pr_info_once() statement causing build breakage when CONFIG_MEMCG_V1 is enabled. Fix it. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Michal Koutný <mkoutny@suse.com> Fixes:fd4fd0a869("mm: Add transformation message for per-memcg swappiness") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202503120710.guZkJx0h-lkp@intel.com/
This commit is contained in:
+1
-1
@@ -1857,7 +1857,7 @@ static int mem_cgroup_swappiness_write(struct cgroup_subsys_state *css,
|
||||
|
||||
if (!mem_cgroup_is_root(memcg)) {
|
||||
pr_info_once("Per memcg swappiness does not exist in cgroup v2. "
|
||||
"See memory.reclaim or memory.swap.max there\n ")
|
||||
"See memory.reclaim or memory.swap.max there\n ");
|
||||
WRITE_ONCE(memcg->swappiness, val);
|
||||
} else
|
||||
WRITE_ONCE(vm_swappiness, val);
|
||||
|
||||
Reference in New Issue
Block a user