]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - lib/test_hexdump.c
test_hexdump: switch to memcmp()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 20 Jan 2016 22:58:58 +0000 (14:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/test_hexdump.c