summaryrefslogtreecommitdiff
path: root/tools/testing/radix-tree/maple.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2023-07-27 14:54:23 +0200
committerTakashi Iwai <tiwai@suse.de>2023-07-27 14:54:23 +0200
commit3b9adfbba5af9e1e83897e832fbe6f5778bfc5d3 (patch)
treea0f52a085c63c164643a5f49fae820752a58b2a2 /tools/testing/radix-tree/maple.c
parent8019a4ab3d80c7af391a646cccff953753fc025f (diff)
parentf85739c0b2b0d98a32f5ca4fcc5501d2b76df4f6 (diff)
Merge tag 'asoc-fix-v6.5-rc3' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v6.5 A collection of device specific fixes, none particularly remarkable. There's a set of repetitive fixes for the RealTek drivers fixing an issue with suspend that was replicated in multiple drivers.
Diffstat (limited to 'tools/testing/radix-tree/maple.c')
-rw-r--r--tools/testing/radix-tree/maple.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/testing/radix-tree/maple.c b/tools/testing/radix-tree/maple.c
index 03539d86cdf0..75ea2081a317 100644
--- a/tools/testing/radix-tree/maple.c
+++ b/tools/testing/radix-tree/maple.c
@@ -206,9 +206,9 @@ static noinline void __init check_new_node(struct maple_tree *mt)
e = i - 1;
} else {
if (i >= 4)
- e = i - 4;
- else if (i == 3)
- e = i - 2;
+ e = i - 3;
+ else if (i >= 1)
+ e = i - 1;
else
e = 0;
}