mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 00:51:35 +00:00
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: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Pravin B Shelar <pshelar@ovn.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8a860c2bcc
commit
06c2351fde
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue