diff options
author | 2023-09-11 16:57:01 +0200 | |
---|---|---|
committer | 2023-10-04 10:32:22 -0700 | |
commit | c3ab4873c8d3620493042123471e65b5e2c37b2c (patch) | |
tree | 9b97a23bef48102b51880deb344932ceab4c2137 /mm/shrinker_debug.c | |
parent | kmsan: prevent optimizations in memcpy tests (diff) | |
download | wireguard-linux-c3ab4873c8d3620493042123471e65b5e2c37b2c.tar.xz wireguard-linux-c3ab4873c8d3620493042123471e65b5e2c37b2c.zip |
kmsan: merge test_memcpy_aligned_to_unaligned{,2}() together
Introduce report_reset() that allows checking for more than one KMSAN
report per testcase.
Fold test_memcpy_aligned_to_unaligned2() into
test_memcpy_aligned_to_unaligned(), so that they share the setup phase and
check the behavior of a single memcpy() call.
Link: https://lkml.kernel.org/r/20230911145702.2663753-3-glider@google.com
Signed-off-by: Alexander Potapenko <glider@google.com>
Acked-by: Marco Elver <elver@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/shrinker_debug.c')
0 files changed, 0 insertions, 0 deletions