Commit 08416252 authored by Valdis Klētnieks's avatar Valdis Klētnieks Committed by Steven Rostedt (VMware)

tracing/probes: Make reserved_field_names static

sparse complains:
  CHECK   kernel/trace/trace_probe.c
kernel/trace/trace_probe.c:16:12: warning: symbol 'reserved_field_names' was not declared. Should it be static?

Yes, it should be static.

Link: http://lkml.kernel.org/r/2478.1552380778@turing-policeSigned-off-by: default avatarValdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent 85f726a3
......@@ -13,7 +13,7 @@
#include "trace_probe.h"
const char *reserved_field_names[] = {
static const char *reserved_field_names[] = {
"common_type",
"common_flags",
"common_preempt_count",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment