lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180331084328.GA69519@athens>
Date:   Sat, 31 Mar 2018 16:43:28 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Martin KaFai Lau <kafai@...com>
Cc:     kbuild-all@...org, netdev@...r.kernel.org,
        Alexei Starovoitov <ast@...com>,
        Daniel Borkmann <daniel@...earbox.net>, kernel-team@...com
Subject: [RFC PATCH] bpf: btf: enum_ops can be static


Fixes: 790d8de6fdc0 ("bpf: btf: Introduce BPF Type Format (BTF)")
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
 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,
 };

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ