trace, filters: Initialize the match variable in process_ops() properly
Commit-ID: 1ef1d1c2353967e2d61ecaddf76edfd058a778b4 Gitweb: http://git.kernel.org/tip/1ef1d1c2353967e2d61ecaddf76edfd058a778b4 Author: Ingo Molnar <[email protected]> AuthorDate: Fri, 18 Mar 2011 14:41:27 +0100 Committer: Ingo Molnar <[email protected]> CommitDate: Fri, 18 Mar 2011 14:41:27 +0100
trace, filters: Initialize the match variable in process_ops() properly
Make sure the 'match' variable always has a value.
Cc: Steven Rostedt <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by Ingo Molnar <[email protected]>
--- kernel/trace/trace_events_filter.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/trace/trace_events_filter.c +1 -1
@@ -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;/*