aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/hexdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hexdump.c b/lib/hexdump.c
index 473f5aed6cae..16f2e2935e87 100644
--- a/lib/hexdump.c
+++ b/lib/hexdump.c
@@ -145,9 +145,9 @@ EXPORT_SYMBOL(hex_dump_to_buffer);
145 */ 145 */
146void print_hex_dump(const char *level, const char *prefix_str, int prefix_type, 146void print_hex_dump(const char *level, const char *prefix_str, int prefix_type,
147 int rowsize, int groupsize, 147 int rowsize, int groupsize,
148 void *buf, size_t len, bool ascii) 148 const void *buf, size_t len, bool ascii)
149{ 149{
150 u8 *ptr = buf; 150 const u8 *ptr = buf;
151 int i, linelen, remaining = len; 151 int i, linelen, remaining = len;
152 unsigned char linebuf[200]; 152 unsigned char linebuf[200];
153 153