mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 04:34:03 +02:00
tracing/user_events: Replace a seq_printf() call by seq_puts() in user_seq_show()
A single string should be put into a sequence within a loop. Thus use the corresponding function “seq_puts” for one selected call. The source code was transformed by using the Coccinelle software. Link: https://patch.msgid.link/1cf327f0-49a6-477f-a06f-2b22a167db24@web.de Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
parent
6e6179ad94
commit
0ac2611f10
|
|
@ -2806,7 +2806,7 @@ static int user_seq_show(struct seq_file *m, void *p)
|
|||
hash_for_each(group->register_table, i, user, node) {
|
||||
status = user->status;
|
||||
|
||||
seq_printf(m, "%s", EVENT_TP_NAME(user));
|
||||
seq_puts(m, EVENT_TP_NAME(user));
|
||||
|
||||
if (status != 0) {
|
||||
seq_puts(m, " # Used by");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user