tipc: fix sparse warnings in new nl api
Fix sparse warnings about non-static declaration of static functions in the new tipc netlink API. Signed-off-by: Richard Alpe <richard.alpe@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
958d03b016
commit
d8182804cf
+2
-1
@@ -767,7 +767,8 @@ void tipc_bcbearer_sort(struct tipc_node_map *nm_ptr, u32 node, bool action)
|
||||
tipc_bclink_unlock();
|
||||
}
|
||||
|
||||
int __tipc_nl_add_bc_link_stat(struct sk_buff *skb, struct tipc_stats *stats)
|
||||
static int __tipc_nl_add_bc_link_stat(struct sk_buff *skb,
|
||||
struct tipc_stats *stats)
|
||||
{
|
||||
int i;
|
||||
struct nlattr *nest;
|
||||
|
||||
Reference in New Issue
Block a user