[5/8] batman-adv: rename batadv_recvlist_node struct to make clear it is used by vis

Message ID 1356426206-8667-5-git-send-email-lindner_marek@yahoo.de (mailing list archive)
State Accepted, archived
Commit f7628c84c4d50372df70e09b0fea5f0631580ef3
Headers

Commit Message

Marek Lindner Dec. 25, 2012, 9:03 a.m. UTC
  Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
---
 types.h |    2 +-
 vis.c   |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
  

Comments

Marek Lindner Jan. 2, 2013, 7:09 a.m. UTC | #1
On Tuesday, December 25, 2012 17:03:23 Marek Lindner wrote:
> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
> ---
>  types.h |    2 +-
>  vis.c   |    6 +++---
>  2 files changed, 4 insertions(+), 4 deletions(-)

Applied in revision f7628c8.

Regards,
Marek
  

Patch

diff --git a/types.h b/types.h
index d17517c..c56e0d9 100644
--- a/types.h
+++ b/types.h
@@ -453,7 +453,7 @@  struct batadv_vis_info_entry {
 	uint8_t  quality;	/* quality = 0 client */
 } __packed;
 
-struct batadv_recvlist_node {
+struct batadv_vis_recvlist_node {
 	struct list_head list;
 	uint8_t mac[ETH_ALEN];
 };
diff --git a/vis.c b/vis.c
index f7c25ce..34bf605 100644
--- a/vis.c
+++ b/vis.c
@@ -38,7 +38,7 @@  static void batadv_free_info(struct kref *ref)
 {
 	struct batadv_vis_info *info;
 	struct batadv_priv *bat_priv;
-	struct batadv_recvlist_node *entry, *tmp;
+	struct batadv_vis_recvlist_node *entry, *tmp;
 
 	info = container_of(ref, struct batadv_vis_info, refcount);
 	bat_priv = info->bat_priv;
@@ -307,7 +307,7 @@  static void batadv_send_list_del(struct batadv_vis_info *info)
 static void batadv_recv_list_add(struct batadv_priv *bat_priv,
 				 struct list_head *recv_list, const char *mac)
 {
-	struct batadv_recvlist_node *entry;
+	struct batadv_vis_recvlist_node *entry;
 
 	entry = kmalloc(sizeof(*entry), GFP_ATOMIC);
 	if (!entry)
@@ -324,7 +324,7 @@  static int batadv_recv_list_is_in(struct batadv_priv *bat_priv,
 				  const struct list_head *recv_list,
 				  const char *mac)
 {
-	const struct batadv_recvlist_node *entry;
+	const struct batadv_vis_recvlist_node *entry;
 
 	spin_lock_bh(&bat_priv->vis.list_lock);
 	list_for_each_entry(entry, recv_list, list) {