From: Ingo Molnar Date: Fri, 18 Mar 2011 13:41:27 +0000 (+0100) Subject: trace, filters: Initialize the match variable in process_ops() properly X-Git-Tag: upstream/snapshot3+hdmi~10808^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1ef1d1c2353967e2d61ecaddf76edfd058a778b4;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git trace, filters: Initialize the match variable in process_ops() properly Make sure the 'match' variable always has a value. Cc: Steven Rostedt Cc: Frederic Weisbecker LKML-Reference: Signed-off-by: Ingo Molnar --- 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; /*