Skip to content

Commit 411d788

Browse files
Florian Westphaldavem330
authored andcommitted
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: cdd4de3 ("test_rhashtable: add test case for rhl_table interface") Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent a424120 commit 411d788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/test_rhashtable.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ static s64 __init test_rhashtable(struct rhashtable *ht, struct test_obj *array,
251251
}
252252

253253
static struct rhashtable ht;
254-
static struct rhltable rhlt __initdata;
254+
static struct rhltable rhlt;
255255

256256
static int __init test_rhltable(unsigned int entries)
257257
{

0 commit comments

Comments
 (0)