* [folded-merged] kasan-improve-vmalloc-tests-fix.patch removed from -mm tree
@ 2022-03-25 0:33 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-03-25 0:33 UTC (permalink / raw)
To: mm-commits, andreyknvl, sfr, akpm
The patch titled
Subject: similar to "kasan: test: fix compatibility with FORTIFY_SOURCE"
has been removed from the -mm tree. Its filename was
kasan-improve-vmalloc-tests-fix.patch
This patch was dropped because it was folded into kasan-improve-vmalloc-tests.patch
------------------------------------------------------
From: Stephen Rothwell <sfr@canb.auug.org.au>
Subject: similar to "kasan: test: fix compatibility with FORTIFY_SOURCE"
Link: https://lkml.kernel.org/r/20220128144801.73f5ced0@canb.auug.org.au
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Andrey Konovalov <andreyknvl@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
lib/test_kasan.c | 2 ++
1 file changed, 2 insertions(+)
--- a/lib/test_kasan.c~kasan-improve-vmalloc-tests-fix
+++ a/lib/test_kasan.c
@@ -1104,6 +1104,8 @@ static void vmalloc_oob(struct kunit *te
v_ptr = vmalloc(size);
KUNIT_ASSERT_NOT_ERR_OR_NULL(test, v_ptr);
+ OPTIMIZER_HIDE_VAR(v_ptr);
+
/*
* We have to be careful not to hit the guard page in vmalloc tests.
* The MMU will catch that and crash us.
_
Patches currently in -mm which might be from sfr@canb.auug.org.au are
kasan-improve-vmalloc-tests.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-25 0:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-25 0:33 [folded-merged] kasan-improve-vmalloc-tests-fix.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.