aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/maple.c
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2023-07-23 22:33:05 +0000
committerMark Brown <[email protected]>2023-07-23 22:33:05 +0000
commitde1b43a57aff8b1808bbfe0402932f9e373d1172 (patch)
tree699c828946223aab18a0aab5175e6902a8ce2e42 /tools/testing/radix-tree/maple.c
parentASoC: wm8960: Add DAC filter characteristics selection (diff)
parentLinux 6.5-rc3 (diff)
downloadkernel-de1b43a57aff8b1808bbfe0402932f9e373d1172.tar.gz
kernel-de1b43a57aff8b1808bbfe0402932f9e373d1172.zip
ASoC: Merge up fixes from mainline
There's several things here that will really help my CI.
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;
}