diff options
author | Sven Eckelmann <sven@narfation.org> | 2012-05-16 14:23:22 -0400 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-06-28 02:44:48 -0400 |
commit | 3e34819e0eafaa6c873e9704bb478c0cdd6bb481 (patch) | |
tree | b8f8d24ca23a92bd235ae06342e33ddab7811508 /net/batman-adv/gateway_common.c | |
parent | ee11ad61f232c201ba62990aa490264220f834cd (diff) |
batman-adv: Prefix remaining function like macros with batadv_
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/gateway_common.c')
-rw-r--r-- | net/batman-adv/gateway_common.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/net/batman-adv/gateway_common.c b/net/batman-adv/gateway_common.c index 6edf37f9a15c..f5c3980aaea6 100644 --- a/net/batman-adv/gateway_common.c +++ b/net/batman-adv/gateway_common.c | |||
@@ -97,9 +97,9 @@ static bool batadv_parse_gw_bandwidth(struct net_device *net_dev, char *buff, | |||
97 | 97 | ||
98 | ret = kstrtol(buff, 10, &ldown); | 98 | ret = kstrtol(buff, 10, &ldown); |
99 | if (ret) { | 99 | if (ret) { |
100 | bat_err(net_dev, | 100 | batadv_err(net_dev, |
101 | "Download speed of gateway mode invalid: %s\n", | 101 | "Download speed of gateway mode invalid: %s\n", |
102 | buff); | 102 | buff); |
103 | return false; | 103 | return false; |
104 | } | 104 | } |
105 | 105 | ||
@@ -122,9 +122,9 @@ static bool batadv_parse_gw_bandwidth(struct net_device *net_dev, char *buff, | |||
122 | 122 | ||
123 | ret = kstrtol(slash_ptr + 1, 10, &lup); | 123 | ret = kstrtol(slash_ptr + 1, 10, &lup); |
124 | if (ret) { | 124 | if (ret) { |
125 | bat_err(net_dev, | 125 | batadv_err(net_dev, |
126 | "Upload speed of gateway mode invalid: %s\n", | 126 | "Upload speed of gateway mode invalid: %s\n", |
127 | slash_ptr + 1); | 127 | slash_ptr + 1); |
128 | return false; | 128 | return false; |
129 | } | 129 | } |
130 | 130 | ||
@@ -164,13 +164,13 @@ ssize_t batadv_gw_bandwidth_set(struct net_device *net_dev, char *buff, | |||
164 | return count; | 164 | return count; |
165 | 165 | ||
166 | batadv_gw_deselect(bat_priv); | 166 | batadv_gw_deselect(bat_priv); |
167 | bat_info(net_dev, | 167 | batadv_info(net_dev, |
168 | "Changing gateway bandwidth from: '%i' to: '%ld' (propagating: %d%s/%d%s)\n", | 168 | "Changing gateway bandwidth from: '%i' to: '%ld' (propagating: %d%s/%d%s)\n", |
169 | atomic_read(&bat_priv->gw_bandwidth), gw_bandwidth_tmp, | 169 | atomic_read(&bat_priv->gw_bandwidth), gw_bandwidth_tmp, |
170 | (down > 2048 ? down / 1024 : down), | 170 | (down > 2048 ? down / 1024 : down), |
171 | (down > 2048 ? "MBit" : "KBit"), | 171 | (down > 2048 ? "MBit" : "KBit"), |
172 | (up > 2048 ? up / 1024 : up), | 172 | (up > 2048 ? up / 1024 : up), |
173 | (up > 2048 ? "MBit" : "KBit")); | 173 | (up > 2048 ? "MBit" : "KBit")); |
174 | 174 | ||
175 | atomic_set(&bat_priv->gw_bandwidth, gw_bandwidth_tmp); | 175 | atomic_set(&bat_priv->gw_bandwidth, gw_bandwidth_tmp); |
176 | 176 | ||