From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [RFC PATCH] bpf: lwt_out_verifier_ops can be static Date: Thu, 26 Apr 2018 23:29:43 +0800 Message-ID: <20180426152943.GA19372@lkp-ne02> References: <1a00b0c169c46a6444dea2b9f76e9c83430faa87.1524591163.git.m.xhonneux@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kbuild-all@01.org, netdev@vger.kernel.org, dlebrun@google.com, alexei.starovoitov@gmail.com To: Mathieu Xhonneux Return-path: Received: from mga01.intel.com ([192.55.52.88]:9169 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756627AbeDZPaJ (ORCPT ); Thu, 26 Apr 2018 11:30:09 -0400 Content-Disposition: inline In-Reply-To: <1a00b0c169c46a6444dea2b9f76e9c83430faa87.1524591163.git.m.xhonneux@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: Fixes: 5c3289b57b1b ("bpf: Split lwt inout verifier structures") Signed-off-by: Fengguang Wu --- filter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/core/filter.c b/net/core/filter.c index 8a2331c..690e0b1 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -5803,13 +5803,13 @@ const struct bpf_prog_ops lwt_in_prog_ops = { .test_run = bpf_prog_test_run_skb, }; -const struct bpf_verifier_ops lwt_out_verifier_ops = { +static const struct bpf_verifier_ops lwt_out_verifier_ops = { .get_func_proto = lwt_out_func_proto, .is_valid_access = lwt_is_valid_access, .convert_ctx_access = bpf_convert_ctx_access, }; -const struct bpf_prog_ops lwt_out_prog_ops = { +static const struct bpf_prog_ops lwt_out_prog_ops = { .test_run = bpf_prog_test_run_skb, };