test_hexdump: switch to memcmp()
authorAndy Shevchenko <[email protected]>
Wed, 20 Jan 2016 22:58:58 +0000 (14:58 -0800)
committerLinus Torvalds <[email protected]>
Thu, 21 Jan 2016 01:09:18 +0000 (17:09 -0800)
commit7047d813718c8e40929b7267a8d20cbf212f8565
tree7da361cc2cc4638e856109d646154470b7236d4b
parentad27a7559a85309a4775389d012f3728c92f5eb0
test_hexdump: switch to memcmp()

Better to use memcmp() against entire buffer to check that nothing is
happened to the data in the tail.

Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/test_hexdump.c