closures: Use seq_putc() in debug_show()
Subsystems (3)
PATCH 1/1 closures: Use seq_putc() in debug_show()
From: Markus Elfring <[email protected]>
Date: Sun, 14 Jul 2024 19:15:09 +0200
A single line break should be put into a sequence. Thus use the corresponding function “seq_putc”.
This issue was transformed by using the Coccinelle software.
Signed-off-by Markus Elfring <[email protected]>
--- lib/closure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/closure.c +1 -1
@@ -278,7 +278,7 @@ static int debug_show(struct seq_file *f, void *data)seq_printf (f," W %pS\n" , (void *) cl->waiting_on); -seq_puts (f,"\n" ); +seq_putc (f,'\n' ); }spin_unlock_irq (&closure_list_lock);
--
2.45.2