aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-02-03 19:05:50 -0500
committerIngo Molnar <mingo@elte.hu>2009-02-04 14:48:39 -0500
commitae7462b4f1fe1f36b5d562dbd5202a2eba01f072 (patch)
treeceb9db3c0e90d4a459dac695ca7b2e2fddf70b32 /kernel/trace/trace.c
parentd9793bd8018f835c64b10f44e278c86cecb8e932 (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.c')
-rw-r--r--kernel/trace/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 5822ff4e5a3e..fd51cf0b94c7 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -1495,7 +1495,7 @@ static enum print_line_t print_hex_fmt(struct trace_iterator *iter)
1495 1495
1496 event = ftrace_find_event(entry->type); 1496 event = ftrace_find_event(entry->type);
1497 if (event && event->hex) { 1497 if (event && event->hex) {
1498 int ret = event->hex(iter, 0); 1498 enum print_line_t ret = event->hex(iter, 0);
1499 if (ret != TRACE_TYPE_HANDLED) 1499 if (ret != TRACE_TYPE_HANDLED)
1500 return ret; 1500 return ret;
1501 } 1501 }