diff options
author | Florian Westphal <fw@strlen.de> | 2017-09-21 11:36:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-21 23:40:55 -0400 |
commit | 411d788a23f7e20b8fc51b548c7204fdecc9d22e (patch) | |
tree | 624b96ddd83908b56009f0d049c7399c1bbc3d16 | |
parent | a424120765009df13957af20ba4d18e531cfe643 (diff) |
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: cdd4de372ea06 ("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>
-rw-r--r-- | lib/test_rhashtable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test_rhashtable.c b/lib/test_rhashtable.c index de4d0584631a..8e83cbdc049c 100644 --- a/lib/test_rhashtable.c +++ b/lib/test_rhashtable.c | |||
@@ -251,7 +251,7 @@ static s64 __init test_rhashtable(struct rhashtable *ht, struct test_obj *array, | |||
251 | } | 251 | } |
252 | 252 | ||
253 | static struct rhashtable ht; | 253 | static struct rhashtable ht; |
254 | static struct rhltable rhlt __initdata; | 254 | static struct rhltable rhlt; |
255 | 255 | ||
256 | static int __init test_rhltable(unsigned int entries) | 256 | static int __init test_rhltable(unsigned int entries) |
257 | { | 257 | { |