projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tipc: fix sparse warnings in new nl api
[firefly-linux-kernel-4.4.55.git]
/
net
/
tipc
/
bcast.c
diff --git
a/net/tipc/bcast.c
b/net/tipc/bcast.c
index dcf3589e3cc567d1f709dd55ddd10203a42e2ead..556b26ad4b1efbb34b9a85f160298fb0d36d889e 100644
(file)
--- a/
net/tipc/bcast.c
+++ b/
net/tipc/bcast.c
@@
-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;