diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-19 13:48:40 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-19 13:48:40 -0700 |
commit | 17974c054db3030b714b7108566bf5208d965a19 (patch) | |
tree | 774debe2e203479832b2a2796faa8cd617d1c7ad /lib/devres.c | |
parent | 8b01fc86b9f425899f8a3a8fc1c47d73c2c20543 (diff) | |
download | linux-17974c054db3030b714b7108566bf5208d965a19.tar.bz2 |
hexdump: avoid warning in test function
The test_data_1_le[] array is a const array of const char *. To avoid
dropping any const information, we need to use "const char * const *",
not just "const char **".
I'm not sure why the different test arrays end up having different
const'ness, but let's make the pointer we use to traverse them as const
as possible, since we modify neither the array of pointers _or_ the
pointers we find in the array.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions