]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
zsmalloc: simplify data output in zs_stats_size_show()
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 4 Jun 2026 08:20:03 +0000 (10:20 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 21 Jun 2026 18:31:28 +0000 (11:31 -0700)
commitb35a8205a3cc87c1fcfb5d2ba25f49ea9342cbc7
treeaac181f016f36eb761e2b644c0ad16a06c0b9c82
parent67c2696cf76aa276376fdd845c7d1b3e16b97af2
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>
mm/zsmalloc.c