summaryrefslogtreecommitdiff
path: root/lib/hexdump.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2007-08-10 13:01:07 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-08-11 15:47:41 -0700
commiteb9a9a56316f4fea98ee32873ccbf7098b7bd69b (patch)
tree27e63fe84221b257ddb3147955b8cf19ce33ee24 /lib/hexdump.c
parent0c1eafdb063a3701eff24d21eb245e3b1d4ac7df (diff)
downloadkernel-common-eb9a9a56316f4fea98ee32873ccbf7098b7bd69b.tar.gz
kernel-common-eb9a9a56316f4fea98ee32873ccbf7098b7bd69b.tar.bz2
kernel-common-eb9a9a56316f4fea98ee32873ccbf7098b7bd69b.zip
hex_dump: add missing "const" qualifiers
Add missing "const" qualifiers to the print_hex_dump_bytes() library routines. (akpm: rumoured to fix some compile warning somewhere) Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Cc: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/hexdump.c')
-rw-r--r--lib/hexdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hexdump.c b/lib/hexdump.c
index 16f2e2935e87..bd5edaeaa80b 100644
--- a/lib/hexdump.c
+++ b/lib/hexdump.c
@@ -189,7 +189,7 @@ EXPORT_SYMBOL(print_hex_dump);
* rowsize of 16, groupsize of 1, and ASCII output included.
*/
void print_hex_dump_bytes(const char *prefix_str, int prefix_type,
- void *buf, size_t len)
+ const void *buf, size_t len)
{
print_hex_dump(KERN_DEBUG, prefix_str, prefix_type, 16, 1,
buf, len, 1);