[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191015084848.iqcyexo5ub3l27ce@332d0cec05f4>
Date: Tue, 15 Oct 2019 16:48:48 +0800
From: kbuild test robot <lkp@...el.com>
To: Pablo Neira Ayuso <pablo@...filter.org>
Cc: kbuild-all@...ts.01.org, netfilter-devel@...r.kernel.org,
davem@...emloft.net, netdev@...r.kernel.org,
jakub.kicinski@...ronome.com, jiri@...nulli.us,
saeedm@...lanox.com, vishal@...lsio.com, vladbu@...lanox.com,
ecree@...arflare.com
Subject: [RFC PATCH] net: flow_offload: tc_proto_udp_hdr[] can be static
Fixes: 0f2458c9ef75 ("net: flow_offload: mangle action at byte level")
Signed-off-by: kbuild test robot <lkp@...el.com>
---
cls_api.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c
index 1898ce3ce5ecc..a58934997632c 100644
--- a/net/sched/cls_api.c
+++ b/net/sched/cls_api.c
@@ -3393,7 +3393,7 @@ static struct tc_proto_hdr_field tc_proto_tcp_hdr[] = {
TC_PROTO_HDR_FIELD_END
};
-struct tc_proto_hdr_field tc_proto_udp_hdr[] = {
+static struct tc_proto_hdr_field tc_proto_udp_hdr[] = {
{ .offset = offsetof(struct udphdr, source), .len = 2, },
{ .offset = offsetof(struct udphdr, dest), .len = 2, },
{ .offset = offsetof(struct udphdr, len), .len = 2, },
Powered by blists - more mailing lists