hexdump: Make test data really const
authorGeert Uytterhoeven <[email protected]>
Thu, 25 Jun 2015 22:02:11 +0000 (15:02 -0700)
committerLinus Torvalds <[email protected]>
Fri, 26 Jun 2015 00:00:40 +0000 (17:00 -0700)
commit79e23d577b938d8d79282fd979f4ff3112e1f3f9
tree9c5f447cff93c48c80f5e54a171fbb07e0e159d4
parent2528a8b8f457d7432552d0e2b6f0f4046bb702f4
hexdump: Make test data really const

The test data arrays, containing pointers to test strings, are never
modified, so they can be const, too.  Hence mark them "const" and
"__initconst".

This moves 28 pointers from ".init.data" to ".init.rodata".

Signed-off-by: Geert Uytterhoeven <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: Andi Kleen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/test-hexdump.c