[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180426134525.GA1189@lkp-ne02>
Date: Thu, 26 Apr 2018 21:45:25 +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: bpf_push_seg6_encap() can be static
Fixes: 14ab8554dc46 ("bpf: Add IPv6 Segment Routing helpers")
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
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;
Powered by blists - more mailing lists