From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [RFC PATCH] bpf: bpf_push_seg6_encap() can be static Date: Thu, 26 Apr 2018 21:45:25 +0800 Message-ID: <20180426134525.GA1189@lkp-ne02> References: <1d9d533b5d2640fe958d599ac0944132c3b7d61b.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 mga02.intel.com ([134.134.136.20]:13106 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755172AbeDZNps (ORCPT ); Thu, 26 Apr 2018 09:45:48 -0400 Content-Disposition: inline In-Reply-To: <1d9d533b5d2640fe958d599ac0944132c3b7d61b.1524591163.git.m.xhonneux@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: Fixes: 14ab8554dc46 ("bpf: Add IPv6 Segment Routing helpers") Signed-off-by: Fengguang Wu --- filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/filter.c b/net/core/filter.c index 8e67c42..4d1204f 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -3725,7 +3725,7 @@ static const struct bpf_func_proto bpf_bind_proto = { .arg3_type = ARG_CONST_SIZE, }; -int bpf_push_seg6_encap(struct sk_buff *skb, u32 type, void *hdr, u32 len) +static int bpf_push_seg6_encap(struct sk_buff *skb, u32 type, void *hdr, u32 len) { int err; struct ipv6_sr_hdr *srh = (struct ipv6_sr_hdr *)hdr;