maple_tree-remove-pointer-to-pointer-use-in-mas_alloc_nodes.patch removed from -mm tree
The quilt patch titled
Subject: maple_tree: remove pointer to pointer use in mas_alloc_nodes()
has been removed from the -mm tree. Its filename was
maple_tree-remove-pointer-to-pointer-use-in-mas_alloc_nodes.patch
This patch was dropped because it was merged into the mm-hotfixes-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Liam Howlett <[email protected]>
Subject: maple_tree: remove pointer to pointer use in mas_alloc_nodes()
Date: Wed, 26 Oct 2022 15:13:29 +0000
There is a more direct and cleaner way of implementing the same functional code. Remove the confusing and unnecessary use of pointers here.
---
lib/maple_tree.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
lib/maple_tree.c renamed from lib/maple_tree.c~maple_tree-remove-pointer-to-pointer-use-in-mas_alloc_nodes +1 -3
@@ -1209,7 +1209,6 @@ done:static inline void mas_alloc_nodes (struct ma_state *mas,gfp_t gfp) {struct maple_alloc *node; -struct maple_alloc **nodep = &mas->alloc;unsigned long allocated =mas_allocated (mas);unsigned long success = allocated;unsigned int requested =mas_alloc_req (mas);
@@ -1263,8 +1262,7 @@ static inline void mas_alloc_nodes(struc node->node_count--; success += count; - nodep = &node->slot[0 ]; - node = *nodep; + node = node->slot[0 ]; requested -= count; } mas->alloc->total = success;
_
Patches currently in -mm which might be from [email protected] are
maple_tree-fix-mas_find_rev-comment.patch maple_tree-update-copyright-dates-for-test-code.patch maple_tree-mte_set_full-and-mte_clear_full-clang-analyzer-clean-up.patch