提交 411d788a 编写于 作者: F Florian Westphal 提交者: David S. Miller

test_rhashtable: remove initdata annotation

kbuild test robot reported a section mismatch warning w. gcc 4.x:
WARNING: lib/test_rhashtable.o(.text+0x139e):
Section mismatch in reference from the function rhltable_insert.clone.3() to the variable .init.data:rhlt

so remove this annotation.

Fixes: cdd4de37 ("test_rhashtable: add test case for rhl_table interface")
Reported-by: Nkbuild test robot <lkp@intel.com>
Signed-off-by: NFlorian Westphal <fw@strlen.de>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 a4241207
......@@ -251,7 +251,7 @@ static s64 __init test_rhashtable(struct rhashtable *ht, struct test_obj *array,
}
static struct rhashtable ht;
static struct rhltable rhlt __initdata;
static struct rhltable rhlt;
static int __init test_rhltable(unsigned int entries)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册