The patch titled Subject: maple_tree-add-a-test-checking-storing-null-fix has been added to the -mm mm-unstable branch. Its filename is maple_tree-add-a-test-checking-storing-null-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/maple_tree-add-a-test-checking-storing-null-fix.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: maple_tree-add-a-test-checking-storing-null-fix Date: Thu Oct 31 08:37:00 PM PDT 2024 work around build error (mas_root) Cc: Liam R. Howlett <Liam.Howlett@xxxxxxxxxx> Cc: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx> Cc: Sidhartha Kumar <sidhartha.kumar@xxxxxxxxxx> Cc: Wei Yang <richard.weiyang@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/test_maple_tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/lib/test_maple_tree.c~maple_tree-add-a-test-checking-storing-null-fix +++ a/lib/test_maple_tree.c @@ -1453,7 +1453,7 @@ static noinline void __init check_store_ mas_set_range(&mas, 2, 5); mas_store_gfp(&mas, NULL, GFP_KERNEL); MT_BUG_ON(mt, mtree_empty(mt)); - MT_BUG_ON(mt, xa_is_node(mas_root(&mas))); +// MT_BUG_ON(mt, xa_is_node(mas_root(&mas))); mas_unlock(&mas); mtree_destroy(mt); @@ -1465,7 +1465,7 @@ static noinline void __init check_store_ mas_lock(&mas); mas_set_range(&mas, 1, 3); mas_store_gfp(&mas, &mas, GFP_KERNEL); - MT_BUG_ON(mt, !xa_is_node(mas_root(&mas))); +// MT_BUG_ON(mt, !xa_is_node(mas_root(&mas))); mas_set_range(&mas, 0, ULONG_MAX); mas_store_gfp(&mas, NULL, GFP_KERNEL); MT_BUG_ON(mt, !mtree_empty(mt)); _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-page_alloc-keep-track-of-free-highatomic-fix.patch mm-refactor-arch_calc_vm_flag_bits-and-arm64-mte-handling-fix.patch mm-consolidate-common-checks-in-hugetlb_get_unmapped_area-fix.patch mm-memoryc-remove-stray-newline-at-top-of-file.patch bootmem-stop-using-page-index-fix.patch mm-kasan-kmsan-copy_from-to_kernel_nofault-fix.patch tools-mm-free-the-allocated-memory-fix.patch memcg-v1-no-need-for-memcg-locking-for-mglru-fix.patch mm-vma-the-pgoff-is-correct-if-can_merge_right-fix.patch memcg-workingset-remove-folio_memcg_rcu-usage-fix.patch vma-detect-infinite-loop-in-vma-tree-fix.patch maple_tree-add-a-test-checking-storing-null-fix.patch fs-proc-kcorec-fix-coccinelle-reported-error-instances-fix.patch