diff options
author | 2023-12-20 14:47:18 -0800 | |
---|---|---|
committer | 2023-12-20 14:47:18 -0800 | |
commit | a721aeac8bc2cade37e68ea195f28d2ed28c1130 (patch) | |
tree | 34da931ad1d0d715c4fde89d19af67780e40a6aa /tools/testing/radix-tree/maple.c | |
parent | maple_tree: change return type of mas_split_final_node as void. (diff) | |
parent | mailmap: add an old address for Naoya Horiguchi (diff) | |
download | wireguard-linux-a721aeac8bc2cade37e68ea195f28d2ed28c1130.tar.xz wireguard-linux-a721aeac8bc2cade37e68ea195f28d2ed28c1130.zip |
sync mm-stable with mm-hotfixes-stable to pick up depended-upon changes
Diffstat (limited to 'tools/testing/radix-tree/maple.c')
-rw-r--r-- | tools/testing/radix-tree/maple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/radix-tree/maple.c b/tools/testing/radix-tree/maple.c index 56ae47291ee0..35cc8c2a10f4 100644 --- a/tools/testing/radix-tree/maple.c +++ b/tools/testing/radix-tree/maple.c @@ -35545,7 +35545,7 @@ static noinline void __init check_prealloc(struct maple_tree *mt) MT_BUG_ON(mt, mas_preallocate(&mas, ptr, GFP_KERNEL) != 0); allocated = mas_allocated(&mas); height = mas_mt_height(&mas); - MT_BUG_ON(mt, allocated != 1); + MT_BUG_ON(mt, allocated != 0); mas_store_prealloc(&mas, ptr); MT_BUG_ON(mt, mas_allocated(&mas) != 0); |