Skip to contentSkip to conversation

selftests-fchmodat2-use-ksft_finished.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Mar 28

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: selftests/fchmodat2: use ksft_finished()
has been removed from the -mm tree. Its filename was
selftests-fchmodat2-use-ksft_finished.patch

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

------------------------------------------------------
From: Mark Brown <[email protected]>
Subject: selftests/fchmodat2: use ksft_finished()
Date: Thu, 26 Feb 2026 22:24:43 +0000

The fchmodat2 test program open codes a version of ksft_finished(), use the standard version.

---

 tools/testing/selftests/fchmodat2/fchmodat2_test.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
tools/testing/selftests/fchmodat2/fchmodat2_test.c renamed from tools/testing/selftests/fchmodat2/fchmodat2_test.c~selftests-fchmodat2-use-ksft_finished +1 -4
@@ -196,8 +196,5 @@ int main(int argc, char **argv)
 	test_regfile();
 	test_symlink();
 
-	if (ksft_get_fail_cnt() + ksft_get_error_cnt() > 0)
-		ksft_exit_fail();
-	else
-		ksft_exit_pass();
+	ksft_finished();
 }

_

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