Skip to content

Commit

Permalink
closures: use seq_putc() in debug_show()
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
elfring authored and akpm00 committed Sep 2, 2024
1 parent 7b76689 commit fbe617a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/closure.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fbe617a

Please sign in to comment.