From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============8896625841948043214==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] bpf: bpf_get_skb_hash_proto can be static Date: Wed, 12 Aug 2020 19:07:15 +0800 Message-ID: <20200812110715.GA41999@02b660684ad6> In-Reply-To: <20200810182841.10953-1-harshitha.ramamurthy@intel.com> List-Id: --===============8896625841948043214== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Signed-off-by: kernel test robot --- filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/filter.c b/net/core/filter.c index 9f6ad7209b448..85b741884443b 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -3806,7 +3806,7 @@ BPF_CALL_1(bpf_get_skb_hash, struct xdp_buff *, xdp) return ret; } = -const struct bpf_func_proto bpf_get_skb_hash_proto =3D { +static const struct bpf_func_proto bpf_get_skb_hash_proto =3D { .func =3D bpf_get_skb_hash, .gpl_only =3D false, .ret_type =3D RET_INTEGER, --===============8896625841948043214==--