diff options
author | Richard Alpe <richard.alpe@ericsson.com> | 2014-11-24 13:10:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-25 00:10:23 +0300 |
commit | d8182804cfd6503e73dc1c0a409903412a389541 (patch) | |
tree | 13a0d359beeb8b436c5977d711e010e04a8b5d2d /net/tipc/node.c | |
parent | 958d03b016586d571a382f863608bc4c6d92a0c8 (diff) | |
download | linux-d8182804cfd6503e73dc1c0a409903412a389541.tar.xz |
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>
Diffstat (limited to 'net/tipc/node.c')
-rw-r--r-- | net/tipc/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c index 72a75d4838b2..82e5edddc376 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c @@ -609,7 +609,7 @@ void tipc_node_unlock(struct tipc_node *node) } /* Caller should hold node lock for the passed node */ -int __tipc_nl_add_node(struct tipc_nl_msg *msg, struct tipc_node *node) +static int __tipc_nl_add_node(struct tipc_nl_msg *msg, struct tipc_node *node) { void *hdr; struct nlattr *attrs; |