Message ID | 20241125105028.42807-1-cgoettsche@seltendoof.de (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show |
Series | trace: constify string literal data member | expand |
diff --git a/include/linux/trace_events.h b/include/linux/trace_events.h index 016b29a56c87..423104db6f93 100644 --- a/include/linux/trace_events.h +++ b/include/linux/trace_events.h @@ -359,7 +359,7 @@ struct trace_event_call { struct list_head list; struct trace_event_class *class; union { - char *name; + const char *name; /* Set TRACE_EVENT_FL_TRACEPOINT flag when using "tp" */ struct tracepoint *tp; };