The patch titled Subject: radix-tree: get_slot_offset() returns invalid offset when parent is NULL has been removed from the -mm tree. Its filename was radix-tree-get_slot_offset-returns-invalid-offset-when-parent-is-null.patch This patch was dropped because it was nacked ------------------------------------------------------ From: Wei Yang <richard.weiyang@xxxxxxxxx> Subject: radix-tree: get_slot_offset() returns invalid offset when parent is NULL Needs new changelog. And maybe a -stable backport? Link: http://lkml.kernel.org/r/20171010025201.5895-1-richard.weiyang@xxxxxxxxx Signed-off-by: Wei Yang <richard.weiyang@xxxxxxxxx> Cc: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/radix-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN lib/radix-tree.c~radix-tree-get_slot_offset-returns-invalid-offset-when-parent-is-null lib/radix-tree.c --- a/lib/radix-tree.c~radix-tree-get_slot_offset-returns-invalid-offset-when-parent-is-null +++ a/lib/radix-tree.c @@ -119,7 +119,7 @@ bool is_sibling_entry(const struct radix static inline unsigned long get_slot_offset(const struct radix_tree_node *parent, void __rcu **slot) { - return slot - parent->slots; + return parent ? (slot - parent->slots) : 0; } static unsigned int radix_tree_descend(const struct radix_tree_node *parent, _ Patches currently in -mm which might be from richard.weiyang@xxxxxxxxx are mm-page_alloc-return-0-in-case-this-node-has-no-page-within-the-zone.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html