projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8df341c
)
trace, filters: Initialize the match variable in process_ops() properly
author
Ingo Molnar
<mingo@elte.hu>
Fri, 18 Mar 2011 13:41:27 +0000
(14:41 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 18 Mar 2011 13:41:27 +0000
(14:41 +0100)
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>
kernel/trace/trace_events_filter.c
patch
|
blob
|
history
diff --git
a/kernel/trace/trace_events_filter.c
b/kernel/trace/trace_events_filter.c
index 3249b4f77ef083fdec2a5bba0a52c3f17a482b23..8008ddcfbf20add080624f6714a5b38424b3789e 100644
(file)
--- 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;
/*