projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
maple_tree: fix mas_spanning_rebalance() on insufficient data
[platform/kernel/linux-starfive.git]
/
lib
/
test_list_sort.c
diff --git
a/lib/test_list_sort.c
b/lib/test_list_sort.c
index
ade7a1e
..
19ff229
100644
(file)
--- a/
lib/test_list_sort.c
+++ b/
lib/test_list_sort.c
@@
-71,7
+71,7
@@
static void list_sort_test(struct kunit *test)
KUNIT_ASSERT_NOT_ERR_OR_NULL(test, el);
/* force some equivalencies */
- el->value = prandom_u32
() %
(TEST_LIST_LEN / 3);
+ el->value = prandom_u32
_max
(TEST_LIST_LEN / 3);
el->serial = i;
el->poison1 = TEST_POISON1;
el->poison2 = TEST_POISON2;