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/link.h | |
parent | 37b08e34a98c664bea86e3fae718ac45a46b7276 (diff) | |
download | linux-rpi3-6c00055a819ce8a6e2c3af2f65d4ea1a8559c491.tar.gz linux-rpi3-6c00055a819ce8a6e2c3af2f65d4ea1a8559c491.tar.bz2 linux-rpi3-6c00055a819ce8a6e2c3af2f65d4ea1a8559c491.zip |
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/link.h')
-rw-r--r-- | net/tipc/link.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/link.h b/net/tipc/link.h index 52f3e7c1871f..6a51e38ad25c 100644 --- a/net/tipc/link.h +++ b/net/tipc/link.h @@ -116,7 +116,7 @@ struct link { char name[TIPC_MAX_LINK_NAME]; struct tipc_media_addr media_addr; struct timer_list timer; - struct node *owner; + struct tipc_node *owner; struct list_head link_list; /* Management and link supervision data */ |