tools-testing-check-correct-variable-in-open_procmap.patch removed from -mm tree
The quilt patch titled
Subject: tools/testing: check correct variable in open_procmap()
has been removed from the -mm tree. Its filename was
tools-testing-check-correct-variable-in-open_procmap.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: Dan Carpenter <[email protected]>
Subject: tools/testing: check correct variable in open_procmap()
Date: Wed, 28 May 2025 11:13:45 +0300
Check if "procmap_out->fd" is negative instead of "procmap_out" (which is a pointer).
Fixes bd23f293a0d5 ("tools/testing: add PROCMAP_QUERY helper functions in mm self tests")
Signed-off-by Dan Carpenter <[email protected]>
Reviewed-by Lorenzo Stoakes <[email protected]>
Cc levi.yun <[email protected]>
Cc Shuah Khan <[email protected]>
Cc Wei Yang <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
tools/testing/selftests/mm/vm_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/mm/vm_util.c renamed from tools/testing/selftests/mm/vm_util.c~tools-testing-check-correct-variable-in-open_procmap +1 -1
@@ -439,7 +439,7 @@ int open_procmap(pid_t pid, struct procmsprintf (path,"/proc/%d/maps" , pid); procmap_out->query.size =sizeof (procmap_out->query); procmap_out->fd =open (path,O_RDONLY ); -if (procmap_out <0 ) +if (procmap_out->fd <0 ) ret = -errno;return ret;
_
Patches currently in -mm which might be from [email protected] are