Merge tag 'soc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[firefly-linux-kernel-4.4.55.git] / lib / list_sort.c
index d7325c6b103f0be078ff3672c35c468ed35738f1..1183fa70a44d26cfc673b6d5d2f645b7026f50dd 100644 (file)
@@ -229,7 +229,7 @@ static int __init list_sort_test(void)
                        goto exit;
                }
                 /* force some equivalencies */
-               el->value = random32() % (TEST_LIST_LEN/3);
+               el->value = prandom_u32() % (TEST_LIST_LEN / 3);
                el->serial = i;
                el->poison1 = TEST_POISON1;
                el->poison2 = TEST_POISON2;