gcc produces a variable may be uninitialized warning for "val" in parse_entry(). This is really a false positive, but the code is subtle enough to just initialize val to zero and it's not a fast path to worry about it. Marked for stable to remove the warning in the stable trees as well.
Unified · Split
| @@ -195,7 +195,7 @@ static int parse_entry(char *str, struct trace_event_call *call, void **pentry) · 194 unmodified lines | ||
| 195 | 195 | unsigned long irq_flags; |
| 196 | 196 | void *entry = NULL; |
| 197 | 197 | int entry_size; |
| 198 | − u64 val; | |
| 198 | + u64 val = 0; | |
| 199 | 199 | int len; |
| 200 | 200 | |
| 201 | 201 | entry = trace_alloc_entry(call, &entry_size); |