From: Lin Ming Date: Sun, 29 Jul 2012 01:19:55 +0000 (+0000) Subject: ipv4: fix debug info in tnode_new X-Git-Tag: MMI-PSA29.97-13-9~16207^2~20 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4ea4bf7ebcbacee2f4736d261efb0693e87a34c9;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ipv4: fix debug info in tnode_new It should print size of struct rt_trie_node * allocated instead of size of struct rt_trie_node. Signed-off-by: Lin Ming Signed-off-by: David S. Miller --- diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c index 18cbc15b20d5..2a6fdc2708c6 100644 --- a/net/ipv4/fib_trie.c +++ b/net/ipv4/fib_trie.c @@ -473,7 +473,7 @@ static struct tnode *tnode_new(t_key key, int pos, int bits) } pr_debug("AT %p s=%zu %zu\n", tn, sizeof(struct tnode), - sizeof(struct rt_trie_node) << bits); + sizeof(struct rt_trie_node *) << bits); return tn; }