From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, allan.stephens@windriver.com,
ying.xue@windriver.com,
Paul Gortmaker <paul.gortmaker@windriver.com>
Subject: [PATCH net-next 6/8] tipc: rename struct bcbearer* to tipc_bcbearer*
Date: Thu, 29 Dec 2011 22:48:55 -0500 [thread overview]
Message-ID: <1325216937-5856-7-git-send-email-paul.gortmaker@windriver.com> (raw)
In-Reply-To: <1325216937-5856-1-git-send-email-paul.gortmaker@windriver.com>
This changes both the struct bcbearer and struct bcbearer_pair to
have the "tipc_" prefix. Runtime behaviour is unchanged.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
net/tipc/bcast.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c
index e88da1c..c24690f 100644
--- a/net/tipc/bcast.c
+++ b/net/tipc/bcast.c
@@ -46,7 +46,7 @@
#define BCLINK_WIN_DEFAULT 20 /* bcast link window size (default) */
/**
- * struct bcbearer_pair - a pair of bearers used by broadcast link
+ * struct tipc_bcbearer_pair - a pair of bearers used by broadcast link
* @primary: pointer to primary bearer
* @secondary: pointer to secondary bearer
*
@@ -54,13 +54,13 @@
* to be paired.
*/
-struct bcbearer_pair {
+struct tipc_bcbearer_pair {
struct tipc_bearer *primary;
struct tipc_bearer *secondary;
};
/**
- * struct bcbearer - bearer used by broadcast link
+ * struct tipc_bcbearer - bearer used by broadcast link
* @bearer: (non-standard) broadcast bearer structure
* @media: (non-standard) broadcast media structure
* @bpairs: array of bearer pairs
@@ -74,11 +74,11 @@ struct bcbearer_pair {
* prevented through use of the spinlock "bc_lock".
*/
-struct bcbearer {
+struct tipc_bcbearer {
struct tipc_bearer bearer;
struct tipc_media media;
- struct bcbearer_pair bpairs[MAX_BEARERS];
- struct bcbearer_pair bpairs_temp[TIPC_MAX_LINK_PRI + 1];
+ struct tipc_bcbearer_pair bpairs[MAX_BEARERS];
+ struct tipc_bcbearer_pair bpairs_temp[TIPC_MAX_LINK_PRI + 1];
struct tipc_node_map remains;
struct tipc_node_map remains_new;
};
@@ -100,10 +100,10 @@ struct tipc_bclink {
struct tipc_node *retransmit_to;
};
-static struct bcbearer bcast_bearer;
+static struct tipc_bcbearer bcast_bearer;
static struct tipc_bclink bcast_link;
-static struct bcbearer *bcbearer = &bcast_bearer;
+static struct tipc_bcbearer *bcbearer = &bcast_bearer;
static struct tipc_bclink *bclink = &bcast_link;
static struct link *bcl = &bcast_link.link;
@@ -677,8 +677,8 @@ static int tipc_bcbearer_send(struct sk_buff *buf,
void tipc_bcbearer_sort(void)
{
- struct bcbearer_pair *bp_temp = bcbearer->bpairs_temp;
- struct bcbearer_pair *bp_curr;
+ struct tipc_bcbearer_pair *bp_temp = bcbearer->bpairs_temp;
+ struct tipc_bcbearer_pair *bp_curr;
int b_index;
int pri;
--
1.7.4.4
next prev parent reply other threads:[~2011-12-30 3:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-30 3:48 [PATCH net-next 0/8] tipc: add tipc_ prefix to various structs Paul Gortmaker
2011-12-30 3:48 ` [PATCH net-next 1/8] tipc: rename struct media to struct tipc_media Paul Gortmaker
2011-12-30 3:48 ` [PATCH net-next 2/8] tipc: rename struct port_list to struct tipc_port_list Paul Gortmaker
2011-12-30 3:48 ` [PATCH net-next 3/8] tipc: rename struct subscription to struct tipc_subscription Paul Gortmaker
2011-12-30 3:48 ` [PATCH net-next 4/8] tipc: rename struct subscriber to struct tipc_subscriber Paul Gortmaker
2011-12-30 3:48 ` [PATCH net-next 5/8] tipc: rename struct bclink to struct tipc_bclink Paul Gortmaker
2011-12-30 3:48 ` Paul Gortmaker [this message]
2011-12-30 3:48 ` [PATCH net-next 7/8] tipc: rename struct link* to struct tipc_link* Paul Gortmaker
2011-12-30 3:48 ` [PATCH net-next 8/8] tipc: rename struct bearer_name to struct tipc_bearer_names Paul Gortmaker
2011-12-30 18:53 ` [PATCH net-next 0/8] tipc: add tipc_ prefix to various structs David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1325216937-5856-7-git-send-email-paul.gortmaker@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=allan.stephens@windriver.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=ying.xue@windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).