[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180426152943.GA19372@lkp-ne02>
Date: Thu, 26 Apr 2018 23:29:43 +0800
From: kbuild test robot <lkp@...el.com>
To: Mathieu Xhonneux <m.xhonneux@...il.com>
Cc: kbuild-all@...org, netdev@...r.kernel.org, dlebrun@...gle.com,
alexei.starovoitov@...il.com
Subject: [RFC PATCH] bpf: lwt_out_verifier_ops can be static
Fixes: 5c3289b57b1b ("bpf: Split lwt inout verifier structures")
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
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,
};
Powered by blists - more mailing lists