Skip to contentSkip to conversation

zsmalloc-simplify-data-output-in-zs_stats_size_show.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jun 21

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: zsmalloc: simplify data output in zs_stats_size_show()
has been removed from the -mm tree. Its filename was
zsmalloc-simplify-data-output-in-zs_stats_size_show.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Markus Elfring <[email protected]>
Subject: zsmalloc: simplify data output in zs_stats_size_show()
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.

---

 mm/zsmalloc.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
mm/zsmalloc.c renamed from mm/zsmalloc.c~zsmalloc-simplify-data-output-in-zs_stats_size_show +1 -2
@@ -565,8 +565,7 @@ static int zs_stats_size_show(struct seq
 		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]);

_

Patches currently in -mm which might be from [email protected] are