[folded-merged] selftests-mm-cow-modify-the-incorrect-checking-parameters-v2.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The quilt patch titled
     Subject: selftests-mm-cow-modify-the-incorrect-checking-parameters-v2
has been removed from the -mm tree.  Its filename was
     selftests-mm-cow-modify-the-incorrect-checking-parameters-v2.patch

This patch was dropped because it was folded into selftests-mm-cow-modify-the-incorrect-checking-parameters.patch

------------------------------------------------------
From: Hao Ge <gehao@xxxxxxxxxx>
Subject: selftests-mm-cow-modify-the-incorrect-checking-parameters-v2
Date: Mon, 13 Jan 2025 13:09:08 +0800

fix other errant sites, per Anshuman

Link: https://lkml.kernel.org/r/20250113050908.93638-1-hao.ge@xxxxxxxxx
Signed-off-by: Hao Ge <gehao@xxxxxxxxxx>
Cc: Anshuman Khandual <anshuman.khandual@xxxxxxx>
Cc: SeongJae Park <sj@xxxxxxxxxx>
Cc: Shuah Khan (Samsung OSG) <shuah@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 tools/testing/selftests/mm/cow.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/tools/testing/selftests/mm/cow.c~selftests-mm-cow-modify-the-incorrect-checking-parameters-v2
+++ a/tools/testing/selftests/mm/cow.c
@@ -1490,7 +1490,7 @@ static void run_with_zeropage(non_anon_t
 	}
 
 	smem = mmap(NULL, pagesize, PROT_READ, MAP_PRIVATE | MAP_ANON, -1, 0);
-	if (mem == MAP_FAILED) {
+	if (smem == MAP_FAILED) {
 		ksft_test_result_fail("mmap() failed\n");
 		goto munmap;
 	}
@@ -1591,7 +1591,7 @@ static void run_with_memfd(non_anon_test
 		goto close;
 	}
 	smem = mmap(NULL, pagesize, PROT_READ, MAP_SHARED, fd, 0);
-	if (mem == MAP_FAILED) {
+	if (smem == MAP_FAILED) {
 		ksft_test_result_fail("mmap() failed\n");
 		goto munmap;
 	}
@@ -1642,7 +1642,7 @@ static void run_with_tmpfile(non_anon_te
 		goto close;
 	}
 	smem = mmap(NULL, pagesize, PROT_READ, MAP_SHARED, fd, 0);
-	if (mem == MAP_FAILED) {
+	if (smem == MAP_FAILED) {
 		ksft_test_result_fail("mmap() failed\n");
 		goto munmap;
 	}
_

Patches currently in -mm which might be from gehao@xxxxxxxxxx are

selftests-mm-cow-modify-the-incorrect-checking-parameters.patch





[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux