From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3223621546326777782==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] bpf: btf_type_show() can be static Date: Sat, 19 Sep 2020 02:32:57 +0800 Message-ID: <20200918183257.GA39172@415c2256fa24> In-Reply-To: <1600436075-2961-3-git-send-email-alan.maguire@oracle.com> List-Id: --===============3223621546326777782== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Signed-off-by: kernel test robot --- btf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/bpf/btf.c b/kernel/bpf/btf.c index 70f5b88d44280b..e3b96f89d23dc3 100644 --- a/kernel/bpf/btf.c +++ b/kernel/bpf/btf.c @@ -5307,8 +5307,8 @@ int btf_prepare_func_args(struct bpf_verifier_env *en= v, int subprog, return 0; } = -void btf_type_show(const struct btf *btf, u32 type_id, void *obj, - struct btf_show *show) +static void btf_type_show(const struct btf *btf, u32 type_id, void *obj, + struct btf_show *show) { const struct btf_type *t =3D btf_type_by_id(btf, type_id); =20 --===============3223621546326777782==--