mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 17:57:38 -04:00
zsmalloc: simplify data output in zs_stats_size_show()
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. Link: https://lore.kernel.org/126a924b-6f68-43bf-ae5a-449fb93e527b@web.de Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org> Cc: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
committed by
Andrew Morton
parent
67c2696cf7
commit
b35a8205a3
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user