diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-19 22:48:40 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-19 22:48:40 +0200 |
commit | 17974c054db3030b714b7108566bf5208d965a19 (patch) | |
tree | 774debe2e203479832b2a2796faa8cd617d1c7ad /drivers/clk | |
parent | fs: take i_mutex during prepare_binprm for set[ug]id executables (diff) | |
download | linux-17974c054db3030b714b7108566bf5208d965a19.tar.xz linux-17974c054db3030b714b7108566bf5208d965a19.zip |
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 'drivers/clk')
0 files changed, 0 insertions, 0 deletions