diff options
author | Sven Eckelmann <sven@narfation.org> | 2012-05-12 07:48:58 -0400 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-06-25 02:21:30 -0400 |
commit | 1eda58bfc56c43e73a0cf2bfb6e4d620ab866109 (patch) | |
tree | d71ba63d988193126831e49bdce03a1131d28ea4 /net/batman-adv/send.c | |
parent | f0530ee5fb9e73465ac844ada2c96a2bea85a18f (diff) |
batman-adv: Prefix main 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/send.c')
-rw-r--r-- | net/batman-adv/send.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/batman-adv/send.c b/net/batman-adv/send.c index 54091db9d5ff..47c3a41cd854 100644 --- a/net/batman-adv/send.c +++ b/net/batman-adv/send.c | |||
@@ -142,7 +142,7 @@ int batadv_add_bcast_packet_to_list(struct bat_priv *bat_priv, | |||
142 | struct sk_buff *newskb; | 142 | struct sk_buff *newskb; |
143 | 143 | ||
144 | if (!atomic_dec_not_zero(&bat_priv->bcast_queue_left)) { | 144 | if (!atomic_dec_not_zero(&bat_priv->bcast_queue_left)) { |
145 | bat_dbg(DBG_BATMAN, bat_priv, "bcast packet queue full\n"); | 145 | batadv_dbg(DBG_BATMAN, bat_priv, "bcast packet queue full\n"); |
146 | goto out; | 146 | goto out; |
147 | } | 147 | } |
148 | 148 | ||
@@ -271,12 +271,12 @@ void batadv_purge_outstanding_packets(struct bat_priv *bat_priv, | |||
271 | bool pending; | 271 | bool pending; |
272 | 272 | ||
273 | if (hard_iface) | 273 | if (hard_iface) |
274 | bat_dbg(DBG_BATMAN, bat_priv, | 274 | batadv_dbg(DBG_BATMAN, bat_priv, |
275 | "purge_outstanding_packets(): %s\n", | 275 | "purge_outstanding_packets(): %s\n", |
276 | hard_iface->net_dev->name); | 276 | hard_iface->net_dev->name); |
277 | else | 277 | else |
278 | bat_dbg(DBG_BATMAN, bat_priv, | 278 | batadv_dbg(DBG_BATMAN, bat_priv, |
279 | "purge_outstanding_packets()\n"); | 279 | "purge_outstanding_packets()\n"); |
280 | 280 | ||
281 | /* free bcast list */ | 281 | /* free bcast list */ |
282 | spin_lock_bh(&bat_priv->forw_bcast_list_lock); | 282 | spin_lock_bh(&bat_priv->forw_bcast_list_lock); |