diff options
| author | Geert Uytterhoeven <[email protected]> | 2015-06-25 22:02:11 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-06-26 00:00:40 +0000 |
| commit | 79e23d577b938d8d79282fd979f4ff3112e1f3f9 (patch) | |
| tree | 9c5f447cff93c48c80f5e54a171fbb07e0e159d4 /lib/bitmap.c | |
| parent | __bitmap_parselist: fix bug in empty string handling (diff) | |
| download | kernel-79e23d577b938d8d79282fd979f4ff3112e1f3f9.tar.gz kernel-79e23d577b938d8d79282fd979f4ff3112e1f3f9.zip | |
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]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions
