zsmalloc: Simplify data output in zs_stats_size_show()
PATCH 1/1 zsmalloc: Simplify data output in zs_stats_size_show()
From: Markus Elfring <[email protected]>
Date: Thu, 4 Jun 2026 10:20:03 +0200
Move the specification for a line break from a seq_puts() call to a seq_printf() call.
The source code was transformed by using the Coccinelle software.
Signed-off-by Markus Elfring <[email protected]>
--- mm/zsmalloc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
mm/zsmalloc.c +1 -2
@@ -565,8 +565,7 @@ static int zs_stats_size_show(struct seq_file *s, void *v) total_freeable += freeable; } -seq_puts (s,"\n" ); -seq_printf (s," %5s %5s " ,"Total" ,"" ); +seq_printf (s,"\n %5s %5s " ,"Total" ,"" );for (fg =ZS_INUSE_RATIO_10 ; fg <NR_FULLNESS_GROUPS ; fg++)seq_printf (s,"%9lu " , inuse_totals[fg]);
Signature · 1 line
2.54.0