From: Tejun Heo Date: Tue, 11 Mar 2025 23:56:11 +0000 (-1000) Subject: mm: Fix a build breakage in memcontrol-v1.c X-Git-Tag: v6.15-rc1~228^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0543d50c4cbc34ca612ab17c3cc9f2d174be8e0;p=thirdparty%2Flinux.git mm: Fix a build breakage in memcontrol-v1.c While adding a deprecation message, fd4fd0a869e9 ("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 Cc: Michal Koutný Fixes: fd4fd0a869e9 ("mm: Add transformation message for per-memcg swappiness") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202503120710.guZkJx0h-lkp@intel.com/ --- diff --git a/mm/memcontrol-v1.c b/mm/memcontrol-v1.c index 93291c0e6eac5..67e786d3b17c0 100644 --- a/mm/memcontrol-v1.c +++ b/mm/memcontrol-v1.c @@ -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);