diff options
author | Sven Eckelmann <sven@narfation.org> | 2012-05-12 07:48:54 -0400 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-06-24 12:41:41 -0400 |
commit | e5d89254bf763da35b42a3c65289c9962f7240c2 (patch) | |
tree | 1e981f14fc7d386e4f848e7fbf822f9a773fc2ed /net/batman-adv/icmp_socket.c | |
parent | 9b4a1159dff76f938aa64f7000621552e4d9ad18 (diff) |
batman-adv: Prefix hard-interface 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/icmp_socket.c')
-rw-r--r-- | net/batman-adv/icmp_socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/icmp_socket.c b/net/batman-adv/icmp_socket.c index 40c5e189e6fd..2523436907e6 100644 --- a/net/batman-adv/icmp_socket.c +++ b/net/batman-adv/icmp_socket.c | |||
@@ -163,7 +163,7 @@ static ssize_t bat_socket_write(struct file *file, const char __user *buff, | |||
163 | return -EINVAL; | 163 | return -EINVAL; |
164 | } | 164 | } |
165 | 165 | ||
166 | primary_if = primary_if_get_selected(bat_priv); | 166 | primary_if = batadv_primary_if_get_selected(bat_priv); |
167 | 167 | ||
168 | if (!primary_if) { | 168 | if (!primary_if) { |
169 | len = -EFAULT; | 169 | len = -EFAULT; |
@@ -244,7 +244,7 @@ free_skb: | |||
244 | kfree_skb(skb); | 244 | kfree_skb(skb); |
245 | out: | 245 | out: |
246 | if (primary_if) | 246 | if (primary_if) |
247 | hardif_free_ref(primary_if); | 247 | batadv_hardif_free_ref(primary_if); |
248 | if (neigh_node) | 248 | if (neigh_node) |
249 | batadv_neigh_node_free_ref(neigh_node); | 249 | batadv_neigh_node_free_ref(neigh_node); |
250 | if (orig_node) | 250 | if (orig_node) |