Skip to content

Commit fbe617a

Browse files
elfringakpm00
authored andcommitted
closures: use seq_putc() in debug_show()
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. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Markus Elfring <[email protected]> Cc: Kent Overstreet <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 7b76689 commit fbe617a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/closure.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ static int debug_show(struct seq_file *f, void *data)
278278
seq_printf(f, " W %pS\n",
279279
(void *) cl->waiting_on);
280280

281-
seq_puts(f, "\n");
281+
seq_putc(f, '\n');
282282
}
283283

284284
spin_unlock_irq(&closure_list_lock);

0 commit comments

Comments
 (0)