aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/originator.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-05-12 07:48:56 -0400
committerAntonio Quartulli <ordex@autistici.org>2012-06-24 12:41:41 -0400
commitda641193dd3117ccd408dc589a131f16286b0da0 (patch)
treeb819cd7c61837e6c7c889e76fb9a38f6c83d4f54 /net/batman-adv/originator.c
parentc0a559295eb2601602f7dc88f4240afcd666f73a (diff)
batman-adv: Prefix originator static inline functions with batadv_
All non-static symbols of batman-adv were prefixed with batadv_ to avoid collisions with other symbols of the kernel. Other symbols of batman-adv should use the same prefix to keep the naming scheme consistent. Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/originator.c')
-rw-r--r--net/batman-adv/originator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c
index 623c23c6ec36..36f5ee5cd195 100644
--- a/net/batman-adv/originator.c
+++ b/net/batman-adv/originator.c
@@ -195,7 +195,7 @@ struct orig_node *batadv_get_orig_node(struct bat_priv *bat_priv,
195 int size; 195 int size;
196 int hash_added; 196 int hash_added;
197 197
198 orig_node = orig_hash_find(bat_priv, addr); 198 orig_node = batadv_orig_hash_find(bat_priv, addr);
199 if (orig_node) 199 if (orig_node)
200 return orig_node; 200 return orig_node;
201 201
@@ -249,7 +249,7 @@ struct orig_node *batadv_get_orig_node(struct bat_priv *bat_priv,
249 goto free_bcast_own; 249 goto free_bcast_own;
250 250
251 hash_added = batadv_hash_add(bat_priv->orig_hash, compare_orig, 251 hash_added = batadv_hash_add(bat_priv->orig_hash, compare_orig,
252 choose_orig, orig_node, 252 batadv_choose_orig, orig_node,
253 &orig_node->hash_entry); 253 &orig_node->hash_entry);
254 if (hash_added != 0) 254 if (hash_added != 0)
255 goto free_bcast_own_sum; 255 goto free_bcast_own_sum;