Skip to contentSkip to conversation

kasan-fix-and-update-kunit_expect_kasan_fail-comment.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Oct 18, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: kasan: fix and update KUNIT_EXPECT_KASAN_FAIL comment
has been removed from the -mm tree. Its filename was
kasan-fix-and-update-kunit_expect_kasan_fail-comment.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Andrey Konovalov <[email protected]>
Subject: kasan: fix and update KUNIT_EXPECT_KASAN_FAIL comment
Date: Fri, 6 Oct 2023 17:18:45 +0200

Update the comment for KUNIT_EXPECT_KASAN_FAIL to describe the parameters this macro accepts.

Also drop the mention of the "kasan_status" KUnit resource, as it no longer exists.

---

 mm/kasan/kasan_test.c |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
mm/kasan/kasan_test.c renamed from mm/kasan/kasan_test.c~kasan-fix-and-update-kunit_expect_kasan_fail-comment +5 -4
@@ -91,10 +91,11 @@ static void kasan_test_exit(struct kunit
 }
 
 /**
- * KUNIT_EXPECT_KASAN_FAIL() - check that the executed expression produces a
- * KASAN report; causes a test failure otherwise. This relies on a KUnit
- * resource named "kasan_status". Do not use this name for KUnit resources
- * outside of KASAN tests.
+ * KUNIT_EXPECT_KASAN_FAIL - check that the executed expression produces a
+ * KASAN report; causes a KUnit test failure otherwise.
+ *
+ * @test: Currently executing KUnit test.
+ * @expression: Expression that must produce a KASAN report.
  *
  * For hardware tag-based KASAN, when a synchronous tag fault happens, tag
  * checking is auto-disabled. When this happens, this test handler reenables

_

Patches currently in -mm which might be from [email protected] are