diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-02-03 19:05:50 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-04 14:48:39 -0500 |
commit | ae7462b4f1fe1f36b5d562dbd5202a2eba01f072 (patch) | |
tree | ceb9db3c0e90d4a459dac695ca7b2e2fddf70b32 /kernel/trace/trace_branch.c | |
parent | d9793bd8018f835c64b10f44e278c86cecb8e932 (diff) |
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>
Diffstat (limited to 'kernel/trace/trace_branch.c')
-rw-r--r-- | kernel/trace/trace_branch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/trace/trace_branch.c b/kernel/trace/trace_branch.c index f6b35e162dfa..7ac72a44b2d3 100644 --- a/kernel/trace/trace_branch.c +++ b/kernel/trace/trace_branch.c | |||
@@ -160,7 +160,8 @@ trace_print_print(struct trace_seq *s, struct trace_entry *entry, int flags) | |||
160 | return TRACE_TYPE_PARTIAL_LINE; | 160 | return TRACE_TYPE_PARTIAL_LINE; |
161 | } | 161 | } |
162 | 162 | ||
163 | static int trace_branch_print(struct trace_iterator *iter, int flags) | 163 | static enum print_line_t trace_branch_print(struct trace_iterator *iter, |
164 | int flags) | ||
164 | { | 165 | { |
165 | struct trace_branch *field; | 166 | struct trace_branch *field; |
166 | 167 | ||