Content-Type: multipart/mixed; boundary="===============4888946357833944687==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] bpf: bpf_kallsyms_lookup_proto can be static Date: Sat, 28 Nov 2020 01:20:38 +0800 Message-ID: <20201127172038.GA27671@df16bc54365e> In-Reply-To: <20201126165748.1748417-1-revest@google.com> List-Id: --===============4888946357833944687== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Reported-by: kernel test robot Signed-off-by: kernel test robot --- bpf_trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/bpf_trace.c b/kernel/trace/bpf_trace.c index 9d86e20c2b13cd..a3dc24695ea9f6 100644 --- a/kernel/trace/bpf_trace.c +++ b/kernel/trace/bpf_trace.c @@ -1288,7 +1288,7 @@ BPF_CALL_5(bpf_kallsyms_lookup, u64, address, char *,= symbol, u32, symbol_size, return ret; } = -const struct bpf_func_proto bpf_kallsyms_lookup_proto =3D { +static const struct bpf_func_proto bpf_kallsyms_lookup_proto =3D { .func =3D bpf_kallsyms_lookup, .gpl_only =3D false, .ret_type =3D RET_INTEGER, --===============4888946357833944687==--