Content-Type: multipart/mixed; boundary="===============3939202942299482265==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] net: openvswitch: IPv6: get_ipv6_ext_hdrs() can be static Date: Sat, 04 Sep 2021 20:36:04 +0800 Message-ID: <20210904123604.GA7610@e282d3512500> In-Reply-To: <20210903205332.707905-1-cpp.code.lv@gmail.com> List-Id: --===============3939202942299482265== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable net/openvswitch/flow.c:268:6: warning: symbol 'get_ipv6_ext_hdrs' was not d= eclared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/openvswitch/flow.c b/net/openvswitch/flow.c index 9985a1e969d23..a1b06f359d738 100644 --- a/net/openvswitch/flow.c +++ b/net/openvswitch/flow.c @@ -265,7 +265,7 @@ static bool icmphdr_ok(struct sk_buff *skb) * Destination Options header * upper-layer header */ -void get_ipv6_ext_hdrs(struct sk_buff *skb, struct ipv6hdr *nh, u16 *ext_h= drs) +static void get_ipv6_ext_hdrs(struct sk_buff *skb, struct ipv6hdr *nh, u16= *ext_hdrs) { u8 next_type =3D nh->nexthdr; unsigned int start =3D skb_network_offset(skb) + sizeof(struct ipv6hdr); --===============3939202942299482265==--