Skip to content

Commit

Permalink
trace, filters: Initialize the match variable in process_ops() properly
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Ingo Molnar committed Mar 18, 2011
1 parent 8df341c commit 1ef1d1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/trace/trace_events_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/*
Expand Down

0 comments on commit 1ef1d1c

Please sign in to comment.