summaryrefslogtreecommitdiff
path: root/kernel/trace/trace_events_inject.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace_events_inject.c')
-rw-r--r--kernel/trace/trace_events_inject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_events_inject.c b/kernel/trace/trace_events_inject.c
index d45079ee62f8..22bcf7c51d1e 100644
--- a/kernel/trace/trace_events_inject.c
+++ b/kernel/trace/trace_events_inject.c
@@ -195,7 +195,7 @@ static int parse_entry(char *str, struct trace_event_call *call, void **pentry)
unsigned long irq_flags;
void *entry = NULL;
int entry_size;
- u64 val;
+ u64 val = 0;
int len;
entry = trace_alloc_entry(call, &entry_size);