hexdump: use const notation
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 7 Aug 2007 20:43:14 +0000 (23:43 +0300)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 9 Aug 2007 15:34:23 +0000 (08:34 -0700)
commit6a0ed91e361a93ee1efb4c20c4967024ed2a8dd7
treeb4299ccdb180450b5ed7a621dad4f3ed0f4abdae
parent660ca5317d229ca27dec6a3159423bc0c5291c2d
hexdump: use const notation

Trivial fix: mark the buffer to hexdump as const so callers could avoid
casting their const buffers when calling print_hex_dump().

The patch is really trivial and I suggest to consider it as a fix
(it fixes GCC warnings) and push it to current tree.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kernel.h
lib/hexdump.c