Commit 962e3707 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds

tracing: remove use of seq_printf return value

The seq_printf return value, because it's frequently misused,
will eventually be converted to void.

See: commit 1f33c41c ("seq_file: Rename seq_overflow() to
     seq_has_overflowed() and make public")


o Remove unused return value from trace_lookup_stack
Signed-off-by: default avatarJoe Perches <>
Acked-by: default avatarSteven Rostedt <>
Cc: Al Viro <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 94ff212d
......@@ -327,11 +327,11 @@ static void t_stop(struct seq_file *m, void *p)
static int trace_lookup_stack(struct seq_file *m, long i)
static void trace_lookup_stack(struct seq_file *m, long i)
unsigned long addr = stack_dump_trace[i];
return seq_printf(m, "%pS\n", (void *)addr);
seq_printf(m, "%pS\n", (void *)addr);
static void print_disabled(struct seq_file *m)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment