From: Yeoreum Yun Date: Wed, 3 Sep 2025 15:00:20 +0000 (+0100) Subject: kasan-apply-write-only-mode-in-kasan-kunit-testcases-v7 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=06126d1d7208633009227a387260851b42545dce;p=users%2Fjedix%2Flinux-maple.git kasan-apply-write-only-mode-in-kasan-kunit-testcases-v7 update a comment Link: https://lkml.kernel.org/r/20250903150020.1131840-3-yeoreum.yun@arm.com Signed-off-by: Yeoreum Yun Reviewed-by: Andrey Konovalov Cc: Alexander Potapenko Cc: Andrey Ryabinin Cc: Ard Biesheuvel Cc: Breno Leitao Cc: Catalin Marinas Cc: David Hildenbrand Cc: Dmitriy Vyukov Cc: D Scott Phillips Cc: Hardevsinh Palaniya Cc: James Morse Cc: John Hubbard Cc: Jonathan Corbet Cc: Kalesh Singh Cc: Marc Zyngier Cc: Mark Brown Cc: Oliver Upton Cc: Pankaj Gupta Cc: Vincenzo Frascino Cc: Will Deacon Cc: Yang Shi Signed-off-by: Andrew Morton --- diff --git a/mm/kasan/kasan_test_c.c b/mm/kasan/kasan_test_c.c index 5d9c9c41f488..2cafca31b092 100644 --- a/mm/kasan/kasan_test_c.c +++ b/mm/kasan/kasan_test_c.c @@ -94,8 +94,9 @@ static void kasan_test_exit(struct kunit *test) } /** - * KUNIT_EXPECT_KASAN_RESULT - check that the executed expression - * causes a KUnit test failure when the result is different from @fail. + * KUNIT_EXPECT_KASAN_RESULT - checks whether the executed expression + * produces a KASAN report; causes a KUnit test failure when the result + * is different from @fail. * * @test: Currently executing KUnit test. * @expr: Expression to be tested.