Subject: [RFC PATCH] bpf: btf: enum_ops can be static

From: kbuild test robot <[email-masked]>
Date: Sat, 31 Mar 2018 16:43:28 +0800

Fixes: 790d8de6fdc0 ("bpf: btf: Introduce BPF Type Format (BTF)")
Signed-off-by: Fengguang Wu <[email-masked]>
---
 btf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/bpf/btf.c b/kernel/bpf/btf.c
index 3454e72..7841ed6 100644
--- a/kernel/bpf/btf.c
+++ b/kernel/bpf/btf.c
@@ -663,7 +663,7 @@ static void btf_enum_log(struct btf_verifier_env *env,
 	btf_verifier_log(env, "size=%u vlen=%u", t->size, btf_type_vlen(t));
 }
 
-struct btf_kind_operations enum_ops = {
+static struct btf_kind_operations enum_ops = {
 	.check_meta = btf_enum_check_meta,
 	.log_details = btf_enum_log,
 };