]> git.itanic.dy.fi Git - linux-stable/commitdiff
mm/mm_init.c: append newline to the unavailable ranges log-message
authorSerge Semin <fancer.lancer@gmail.com>
Wed, 22 Nov 2023 18:24:04 +0000 (21:24 +0300)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 11 Dec 2023 00:51:51 +0000 (16:51 -0800)
Based on the init_unavailable_range() method and it's callee semantics no
multi-line info messages are intended to be printed to the console.  Thus
append the '\n' symbol to the respective info string.

Link: https://lkml.kernel.org/r/20231122182419.30633-7-fancer.lancer@gmail.com
Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mm_init.c

index 824bf53e825317741be9eb2784da73aaca864421..a5f91eba4f8d9d6f205af829549c0cf58128efb1 100644 (file)
@@ -827,7 +827,7 @@ static void __init init_unavailable_range(unsigned long spfn,
        }
 
        if (pgcnt)
-               pr_info("On node %d, zone %s: %lld pages in unavailable ranges",
+               pr_info("On node %d, zone %s: %lld pages in unavailable ranges\n",
                        node, zone_names[zone], pgcnt);
 }