Content-Type: multipart/mixed; boundary="===============7140823470198516527==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] bpf: sk_lookup_prog_ops can be static Date: Sun, 05 Jul 2020 17:20:45 +0800 Message-ID: <20200705092044.GA44776@7b422c9ed8a7> In-Reply-To: <20200702092416.11961-3-jakub@cloudflare.com> List-Id: --===============7140823470198516527== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Signed-off-by: kernel test robot --- filter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/core/filter.c b/net/core/filter.c index 477f3bb440c4c..d8153d217ca8e 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -9396,10 +9396,10 @@ static u32 sk_lookup_convert_ctx_access(enum bpf_ac= cess_type type, return insn - insn_buf; } = -const struct bpf_prog_ops sk_lookup_prog_ops =3D { +static const struct bpf_prog_ops sk_lookup_prog_ops =3D { }; = -const struct bpf_verifier_ops sk_lookup_verifier_ops =3D { +static const struct bpf_verifier_ops sk_lookup_verifier_ops =3D { .get_func_proto =3D sk_lookup_func_proto, .is_valid_access =3D sk_lookup_is_valid_access, .convert_ctx_access =3D sk_lookup_convert_ctx_access, --===============7140823470198516527==--