trace: make the trace_event callbacks return enum print_line_t
As they actually all return these enumerators. Reported-by: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Acked-by: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
committed by
Ingo Molnar
parent
d9793bd801
commit
ae7462b4f1
@@ -160,7 +160,8 @@ trace_print_print(struct trace_seq *s, struct trace_entry *entry, int flags)
|
||||
return TRACE_TYPE_PARTIAL_LINE;
|
||||
}
|
||||
|
||||
static int trace_branch_print(struct trace_iterator *iter, int flags)
|
||||
static enum print_line_t trace_branch_print(struct trace_iterator *iter,
|
||||
int flags)
|
||||
{
|
||||
struct trace_branch *field;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user