Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06c2351f authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

openvswitch: Make local function ovs_nsh_key_attr_size() static



Fixes the following sparse warnings:

net/openvswitch/flow_netlink.c:340:8: warning:
 symbol 'ovs_nsh_key_attr_size' was not declared. Should it be static?

Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Acked-by: default avatarPravin B Shelar <pshelar@ovn.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8a860c2b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -338,7 +338,7 @@ size_t ovs_tun_key_attr_size(void)
		+ nla_total_size(4);   /* OVS_TUNNEL_KEY_ATTR_ERSPAN_OPTS */
		+ nla_total_size(4);   /* OVS_TUNNEL_KEY_ATTR_ERSPAN_OPTS */
}
}


size_t ovs_nsh_key_attr_size(void)
static size_t ovs_nsh_key_attr_size(void)
{
{
	/* Whenever adding new OVS_NSH_KEY_ FIELDS, we should consider
	/* Whenever adding new OVS_NSH_KEY_ FIELDS, we should consider
	 * updating this function.
	 * updating this function.