[merged mm-stable] mm-vmalloc-use-more-common-error-handling-code-in-pcpu_get_vm_areas.patch removed from -mm tree
Andrew Morton <[email protected]> Tue, 28 Jul 2026 21:13:20 -0700
| Newsgroups | org.kernel.vger.mm-commits |
|---|---|
| Message-ID | <[email protected]> |
The quilt patch titled
Subject: mm/vmalloc: use more common error handling code in pcpu_get_vm_areas()
has been removed from the -mm tree. Its filename was
mm-vmalloc-use-more-common-error-handling-code-in-pcpu_get_vm_areas.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: Markus Elfring <[email protected]>
Subject: mm/vmalloc: use more common error handling code in pcpu_get_vm_areas()
Date: Tue, 16 Jun 2026 18:14:52 +0200
Use an existing label once more so that a bit of exception handling can be
better reused at the end of this function implementation.
This issue was detected by using the Coccinelle software.
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Markus Elfring <[email protected]>
Reviewed-by: Uladzislau Rezki (Sony) <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Daniel Axtens <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
---
mm/vmalloc.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
--- a/mm/vmalloc.c~mm-vmalloc-use-more-common-error-handling-code-in-pcpu_get_vm_areas
+++ a/mm/vmalloc.c
@@ -5199,9 +5199,7 @@ err_free_shadow:
kfree(vms[area]);
}
spin_unlock(&free_vmap_area_lock);
- kfree(vas);
- kfree(vms);
- return NULL;
+ goto err_free2;
}
/**
_
Patches currently in -mm which might be from [email protected] are