locking/lockdep: Simplify data output in lockdep_stats_show()
Subsystems (2)
PATCH 1/1 locking/lockdep: Simplify data output in lockdep_stats_show()
From: Markus Elfring <[email protected]>
Date: Thu, 4 Jun 2026 12:23:32 +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]>
--- kernel/locking/lockdep_proc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
kernel/locking/lockdep_proc.c +1 -3
@@ -381,9 +381,7 @@ static int lockdep_stats_show(struct seq_file *m, void *v)/* * Zapped classes and lockdep data buffers reuse statistics. */ -seq_puts (m,"\n" ); -seq_printf (m," zapped classes: %11lu\n" , - nr_zapped_classes); +seq_printf (m,"\n zapped classes: %11lu\n" , nr_zapped_classes);#ifdef CONFIG_PROVE_LOCKING seq_printf (m," zapped lock chains: %11lu\n" , nr_zapped_lock_chains);
Signature · 1 line
2.54.0