From: Antonio Quartulli Date: Mon, 19 Sep 2011 10:29:19 +0000 (+0200) Subject: batman-adv: tt_global_del_orig() has to print the correct message X-Git-Tag: upstream/snapshot3+hdmi~8450^2~250^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=87944973d97c8792e3904dab78537cbdfb715cb2;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git batman-adv: tt_global_del_orig() has to print the correct message When deleting the entries, tt_global_del_orig() has to print the message passed as argument instead of a static one. Signed-off-by: Antonio Quartulli Signed-off-by: Sven Eckelmann --- diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c index c7aafc7..1db9d96 100644 --- a/net/batman-adv/translation-table.c +++ b/net/batman-adv/translation-table.c @@ -735,9 +735,10 @@ void tt_global_del_orig(struct bat_priv *bat_priv, if (tt_global_entry->orig_node == orig_node) { bat_dbg(DBG_TT, bat_priv, "Deleting global tt entry %pM " - "(via %pM): originator time out\n", + "(via %pM): %s\n", tt_global_entry->addr, - tt_global_entry->orig_node->orig); + tt_global_entry->orig_node->orig, + message); hlist_del_rcu(node); tt_global_entry_free_ref(tt_global_entry); }