linux-next: build failure after merge of the akpm tree
Subsystems (2)
Hi Andrew,
After merging the akpm tree, today's linux-next build (arm multi_v7_defconfig) failed like this:
lib/radix-tree.c: In function 'radix_tree_iter_delete':lib/radix-tree.c:1952:3: error: too few arguments to function '__radix_tree_delete_node'
__radix_tree_delete_node(root, node);
^lib/radix-tree.c:1936:6: note: declared here
void __radix_tree_delete_node(struct radix_tree_root *root,
^
Caused by patch
"Reimplement IDR and IDA using the radix tree"
interacting with commit
ea07b862ac8e ("mm: workingset: fix use-after-free in shadow node shrinker")
from Linus' tree.
I applied the following fixup patch (which may not be entirely complete, of course).
From: Stephen Rothwell <[email protected]>
Date: Mon, 9 Jan 2017 15:05:08 +1100
Subject: [PATCH] mm: merge fixup for "fix use-after-free in shadow node shrinker"
--- lib/radix-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/radix-tree.c +1 -1
@@ -1949,7 +1949,7 @@ void radix_tree_iter_delete(struct radix_tree_root *root,if (node) { node->slots[iter_offset (iter)] =NULL ; node->count--; -__radix_tree_delete_node (root, node); +__radix_tree_delete_node (root, node,NULL ,NULL ); }else { root->rnode =NULL ; }
Signature · 5 lines
2.10.2 -- Cheers, Stephen Rothwell