[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200806181814.GA5058@26715c783541>
Date: Fri, 7 Aug 2020 02:18:15 +0800
From: kernel test robot <lkp@...el.com>
To: Song Liu <songliubraving@...com>, linux-kernel@...r.kernel.org,
bpf@...r.kernel.org, netdev@...r.kernel.org
Cc: kbuild-all@...ts.01.org, ast@...nel.org, daniel@...earbox.net,
kernel-team@...com, john.fastabend@...il.com, kpsingh@...omium.org,
brouer@...hat.com, dlxu@...com
Subject: [RFC PATCH] bpf: user_verifier_ops can be static
Signed-off-by: kernel test robot <lkp@...el.com>
---
bpf_trace.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/trace/bpf_trace.c b/kernel/trace/bpf_trace.c
index cbe789bc1b986..4b8f380694a10 100644
--- a/kernel/trace/bpf_trace.c
+++ b/kernel/trace/bpf_trace.c
@@ -1852,12 +1852,12 @@ user_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)
}
}
-const struct bpf_verifier_ops user_verifier_ops = {
+static const struct bpf_verifier_ops user_verifier_ops = {
.get_func_proto = user_prog_func_proto,
.is_valid_access = user_prog_is_valid_access,
};
-const struct bpf_prog_ops user_prog_ops = {
+static const struct bpf_prog_ops user_prog_ops = {
.test_run = bpf_prog_test_run_user,
};
Powered by blists - more mailing lists