diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-02 23:38:32 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-02 23:38:32 -0700 |
commit | 6c00055a819ce8a6e2c3af2f65d4ea1a8559c491 (patch) | |
tree | 10a99e61740723be45ba056b2edd623d237c0207 /net/tipc/discover.c | |
parent | 37b08e34a98c664bea86e3fae718ac45a46b7276 (diff) | |
download | kernel_samsung_smdk4412-6c00055a819ce8a6e2c3af2f65d4ea1a8559c491.zip kernel_samsung_smdk4412-6c00055a819ce8a6e2c3af2f65d4ea1a8559c491.tar.gz kernel_samsung_smdk4412-6c00055a819ce8a6e2c3af2f65d4ea1a8559c491.tar.bz2 |
tipc: Don't use structure names which easily globally conflict.
Andrew Morton reported a build failure on sparc32, because TIPC
uses names like "struct node" and there is a like named data
structure defined in linux/node.h
This just regexp replaces "struct node*" to "struct tipc_node*"
to avoid this and any future similar problems.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/discover.c')
-rw-r--r-- | net/tipc/discover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/discover.c b/net/tipc/discover.c index 1657f0e..74b7d1e 100644 --- a/net/tipc/discover.c +++ b/net/tipc/discover.c @@ -193,7 +193,7 @@ void tipc_disc_recv_msg(struct sk_buff *buf, struct bearer *b_ptr) /* Always accept link here */ struct sk_buff *rbuf; struct tipc_media_addr *addr; - struct node *n_ptr = tipc_node_find(orig); + struct tipc_node *n_ptr = tipc_node_find(orig); int link_fully_up; dbg(" in own cluster\n"); |