aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2011-03-18 14:41:27 +0100
committerIngo Molnar <mingo@elte.hu>2011-03-18 14:41:27 +0100
commit1ef1d1c2353967e2d61ecaddf76edfd058a778b4 (patch)
tree9afe636fd68d27093d84ef0b10063e085e33af5b
parent8df341cf251f3b77eaaef66f806570e74ab44452 (diff)
downloadlinaro-lsk-1ef1d1c2353967e2d61ecaddf76edfd058a778b4.tar.gz
trace, filters: Initialize the match variable in process_ops() properly
Make sure the 'match' variable always has a value. Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--kernel/trace/trace_events_filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_events_filter.c b/kernel/trace/trace_events_filter.c
index 3249b4f77ef..8008ddcfbf2 100644
--- a/kernel/trace/trace_events_filter.c
+++ b/kernel/trace/trace_events_filter.c
@@ -391,8 +391,8 @@ static int process_ops(struct filter_pred *preds,
struct filter_pred *op, void *rec)
{
struct filter_pred *pred;
+ int match = 0;
int type;
- int match;
int i;
/*