Message ID | 1269995052-10905-1-git-send-email-hagen@jauu.net |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Hagen Paul Pfeifer <hagen@jauu.net> Date: Wed, 31 Mar 2010 02:24:12 +0200 > struct _zone *tipc_zones has local scope level and > should defined with the correct scoping. > > CC: Per Liden <per.liden@nospam.ericsson.com> > Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/tipc/net.c b/net/tipc/net.c index 79ce8fa..d7cd1e0 100644 --- a/net/tipc/net.c +++ b/net/tipc/net.c @@ -116,7 +116,7 @@ */ DEFINE_RWLOCK(tipc_net_lock); -struct _zone *tipc_zones[256] = { NULL, }; +static struct _zone *tipc_zones[256] = { NULL, }; struct network tipc_net = { tipc_zones }; struct tipc_node *tipc_net_select_remote_node(u32 addr, u32 ref)
struct _zone *tipc_zones has local scope level and should defined with the correct scoping. CC: Per Liden <per.liden@nospam.ericsson.com> Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net> --- net/tipc/net.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)