aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/trace/ftrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/ftrace.h b/include/trace/ftrace.h
index 5a7d18c43634..a77f71a46dbe 100644
--- a/include/trace/ftrace.h
+++ b/include/trace/ftrace.h
@@ -123,7 +123,7 @@
123#define TP_printk(fmt, args...) fmt "\n", args 123#define TP_printk(fmt, args...) fmt "\n", args
124 124
125#undef __get_str 125#undef __get_str
126#define __get_str(field) (char *)__entry + __entry->__str_loc_##field 126#define __get_str(field) ((char *)__entry + __entry->__str_loc_##field)
127 127
128#undef TRACE_EVENT 128#undef TRACE_EVENT
129#define TRACE_EVENT(call, proto, args, tstruct, assign, print) \ 129#define TRACE_EVENT(call, proto, args, tstruct, assign, print) \