Message ID | 20231122182419.30633-7-fancer.lancer@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | MIPS: mm: Fix some memory-related issues | expand |
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@gmail.com> Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org> > --- > 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 >
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); }
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@gmail.com> --- mm/mm_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)