]> git.baikalelectronics.ru Git - kernel.git/commit
test_rhashtable: remove initdata annotation
authorFlorian Westphal <fw@strlen.de>
Thu, 21 Sep 2017 15:36:08 +0000 (17:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Sep 2017 03:40:55 +0000 (20:40 -0700)
commit0bf59f89af7e839db4bcd49fc767bd9f53daf887
tree624b96ddd83908b56009f0d049c7399c1bbc3d16
parent7707402575b1e7e6cd34829f21d599150effa837
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: b698ee01e1a9e ("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>
lib/test_rhashtable.c