summaryrefslogtreecommitdiffstats
path: root/lib/string.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2016-01-20 23:58:58 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2016-01-21 02:09:18 +0100
commit7047d813718c8e40929b7267a8d20cbf212f8565 (patch)
tree7da361cc2cc4638e856109d646154470b7236d4b /lib/string.c
parenttest_hexdump: replace magic numbers by their meaning (diff)
downloadlinux-7047d813718c8e40929b7267a8d20cbf212f8565.tar.xz
linux-7047d813718c8e40929b7267a8d20cbf212f8565.zip
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>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions