Skip to content

Commit b0543d5

Browse files
committed
mm: Fix a build breakage in memcontrol-v1.c
While adding a deprecation message, fd4fd0a ("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 <[email protected]> Cc: Michal Koutný <[email protected]> Fixes: fd4fd0a ("mm: Add transformation message for per-memcg swappiness") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
1 parent 4a893bd commit b0543d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/memcontrol-v1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1857,7 +1857,7 @@ static int mem_cgroup_swappiness_write(struct cgroup_subsys_state *css,
18571857

18581858
if (!mem_cgroup_is_root(memcg)) {
18591859
pr_info_once("Per memcg swappiness does not exist in cgroup v2. "
1860-
"See memory.reclaim or memory.swap.max there\n ")
1860+
"See memory.reclaim or memory.swap.max there\n ");
18611861
WRITE_ONCE(memcg->swappiness, val);
18621862
} else
18631863
WRITE_ONCE(vm_swappiness, val);

0 commit comments

Comments
 (0)