Re: [PATCH 6/7] mm/mm_init.c: Append '\n' to the unavailable ranges log-message

From: Mike Rapoport
Date: Thu Nov 23 2023 - 05:07:09 EST


On Wed, Nov 22, 2023 at 09:24:04PM +0300, Serge Semin wrote:
> 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.
>
> Signed-off-by: Serge Semin <fancer.lancer@xxxxxxxxx>

Reviewed-by: Mike Rapoport (IBM) <rppt@xxxxxxxxxx>

> ---
> mm/mm_init.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mm/mm_init.c b/mm/mm_init.c
> index 3fa33e2d32ba..db8b91175834 100644
> --- a/mm/mm_init.c
> +++ b/mm/mm_init.c
> @@ -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);
> }
>
> --
> 2.42.1
>

--
Sincerely yours,
Mike.