diff options
author | Ingo Molnar <mingo@elte.hu> | 2011-03-18 14:41:27 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-03-18 14:41:27 +0100 |
commit | 1ef1d1c2353967e2d61ecaddf76edfd058a778b4 (patch) | |
tree | 9afe636fd68d27093d84ef0b10063e085e33af5b /kernel | |
parent | 8df341cf251f3b77eaaef66f806570e74ab44452 (diff) | |
download | op-kernel-dev-1ef1d1c2353967e2d61ecaddf76edfd058a778b4.zip op-kernel-dev-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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/trace/trace_events_filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_events_filter.c b/kernel/trace/trace_events_filter.c index 3249b4f..8008ddc 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; /* |