diff options
author | Sven Eckelmann <sven@narfation.org> | 2017-05-19 13:02:00 +0200 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2017-05-23 14:34:31 +0200 |
commit | 22f0502ed9f3ae624b0b9a922a067cb6f7e7ce09 (patch) | |
tree | 04e47cd27136157ac04d869388c74ea038858d96 /net/batman-adv/distributed-arp-table.c | |
parent | 912eeed9f5208515b75103e91ff8b64cfdcca7b9 (diff) | |
download | linux-stable-22f0502ed9f3ae624b0b9a922a067cb6f7e7ce09.tar.gz linux-stable-22f0502ed9f3ae624b0b9a922a067cb6f7e7ce09.tar.bz2 linux-stable-22f0502ed9f3ae624b0b9a922a067cb6f7e7ce09.zip |
batman-adv: Print correct function names in dbg messages
The function names in batman-adv changed slightly in the past. But some of
the debug messages were not updated correctly and therefore some messages
were incorrect. To avoid this in the future, these kind of messages should
use __func__ to automatically print the correct function name.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/distributed-arp-table.c')
-rw-r--r-- | net/batman-adv/distributed-arp-table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/distributed-arp-table.c b/net/batman-adv/distributed-arp-table.c index 013e970eff39..362cae2ef82a 100644 --- a/net/batman-adv/distributed-arp-table.c +++ b/net/batman-adv/distributed-arp-table.c @@ -601,7 +601,7 @@ batadv_dat_select_candidates(struct batadv_priv *bat_priv, __be32 ip_dst, BATADV_DAT_ADDR_MAX); batadv_dbg(BATADV_DBG_DAT, bat_priv, - "dat_select_candidates(): IP=%pI4 hash(IP)=%u\n", &ip_dst, + "%s(): IP=%pI4 hash(IP)=%u\n", __func__, &ip_dst, ip_key); for (select = 0; select < BATADV_DAT_CANDIDATES_NUM; select++) |