diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2016-01-20 23:58:58 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-21 02:09:18 +0100 |
commit | 7047d813718c8e40929b7267a8d20cbf212f8565 (patch) | |
tree | 7da361cc2cc4638e856109d646154470b7236d4b /lib/compat_audit.c | |
parent | test_hexdump: replace magic numbers by their meaning (diff) | |
download | linux-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/compat_audit.c')
0 files changed, 0 insertions, 0 deletions