]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
lib/test-hexdump.c: fix initconst confusion
authorAndi Kleen <ak@linux.intel.com>
Wed, 15 Apr 2015 23:16:39 +0000 (16:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 15 Apr 2015 23:35:22 +0000 (16:35 -0700)
commitc79574abe2baddf569532e7e430e4977771dd25c
tree2b21044d2a11974bd64b27a4826d886c9440fe14
parent946e87981942552e526aca9cb6204f02a6c847cb
lib/test-hexdump.c: fix initconst confusion

const char *...[] is not const, but an array of pointer to const.  So
these arrays cannot be __initconst, but must be __initdata

This fixes section conflicts with LTO.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/test-hexdump.c