diff options
author | Sven Eckelmann <sven@narfation.org> | 2012-05-12 13:48:55 +0200 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-06-24 18:41:41 +0200 |
commit | c0a559295eb2601602f7dc88f4240afcd666f73a (patch) | |
tree | 1936cd32135d51f0616db90ebc4ee57c34f45790 /net/batman-adv/originator.c | |
parent | e5d89254bf763da35b42a3c65289c9962f7240c2 (diff) | |
download | op-kernel-dev-c0a559295eb2601602f7dc88f4240afcd666f73a.zip op-kernel-dev-c0a559295eb2601602f7dc88f4240afcd666f73a.tar.gz |
batman-adv: Prefix hash 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.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c index 90d24fc..623c23c 100644 --- a/net/batman-adv/originator.c +++ b/net/batman-adv/originator.c @@ -248,8 +248,9 @@ struct orig_node *batadv_get_orig_node(struct bat_priv *bat_priv, if (!orig_node->bcast_own_sum) goto free_bcast_own; - hash_added = hash_add(bat_priv->orig_hash, compare_orig, - choose_orig, orig_node, &orig_node->hash_entry); + hash_added = batadv_hash_add(bat_priv->orig_hash, compare_orig, + choose_orig, orig_node, + &orig_node->hash_entry); if (hash_added != 0) goto free_bcast_own_sum; |