aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/trace/trace_events.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/trace/trace_events.h b/include/trace/trace_events.h
index bfda803b0a09..4ecdfe2e3580 100644
--- a/include/trace/trace_events.h
+++ b/include/trace/trace_events.h
@@ -422,6 +422,7 @@ static struct trace_event_functions trace_event_type_funcs_##call = { \
422 do { \ 422 do { \
423 char *type_str = #type"["__stringify(len)"]"; \ 423 char *type_str = #type"["__stringify(len)"]"; \
424 BUILD_BUG_ON(len > MAX_FILTER_STR_VAL); \ 424 BUILD_BUG_ON(len > MAX_FILTER_STR_VAL); \
425 BUILD_BUG_ON(len <= 0); \
425 ret = trace_define_field(event_call, type_str, #item, \ 426 ret = trace_define_field(event_call, type_str, #item, \
426 offsetof(typeof(field), item), \ 427 offsetof(typeof(field), item), \
427 sizeof(field.item), \ 428 sizeof(field.item), \