“13ced08b8aeabc4f83772d5d5aef1ea4ccca3786”上不存在“git@gitcode.net:paddlepaddle/PaddleOCR.git”
提交 4ea4bf7e 编写于 作者: L Lin Ming 提交者: David S. Miller

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: NLin Ming <mlin@ss.pku.edu.cn>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 1a0150a9
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册