The patch titled Subject: x86: rename random32() to prandom_u32() has been added to the -mm tree. Its filename is x86-rename-random32-to-prandom_u32.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Akinobu Mita <akinobu.mita@xxxxxxxxx> Subject: x86: rename random32() to prandom_u32() Use preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita <akinobu.mita@xxxxxxxxx> Acked-by: H. Peter Anvin <hpa@xxxxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxxxxx> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/x86/mm/pageattr-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN arch/x86/mm/pageattr-test.c~x86-rename-random32-to-prandom_u32 arch/x86/mm/pageattr-test.c --- a/arch/x86/mm/pageattr-test.c~x86-rename-random32-to-prandom_u32 +++ a/arch/x86/mm/pageattr-test.c @@ -132,10 +132,10 @@ static int pageattr_test(void) failed += print_split(&sa); for (i = 0; i < NTEST; i++) { - unsigned long pfn = random32() % max_pfn_mapped; + unsigned long pfn = prandom_u32() % max_pfn_mapped; addr[i] = (unsigned long)__va(pfn << PAGE_SHIFT); - len[i] = random32() % 100; + len[i] = prandom_u32() % 100; len[i] = min_t(unsigned long, len[i], max_pfn_mapped - pfn - 1); if (len[i] == 0) _ Patches currently in -mm which might be from akinobu.mita@xxxxxxxxx are linux-next.patch raid6test-use-prandom_bytes.patch uuid-use-prandom_bytes.patch x86-pageattr-test-remove-srandom32-call.patch x86-rename-random32-to-prandom_u32.patch lib-rename-random32-to-prandom_u32.patch mm-rename-random32-to-prandom_u32.patch kernel-rename-random32-to-prandom_u32.patch drbd-rename-random32-to-prandom_u32.patch infiniband-rename-random32-to-prandom_u32.patch mmc-rename-random32-to-prandom_u32.patch video-uvesafb-rename-random32-to-prandom_u32.patch xfs-rename-random32-to-prandom_u32.patch uwb-rename-random32-to-prandom_u32.patch lguest-rename-random32-to-prandom_u32.patch scsi-rename-random32-to-prandom_u32.patch drivers-net-rename-random32-to-prandom_u32.patch net-sunrpc-rename-random32-to-prandom_u32.patch net-sched-rename-random32-to-prandom_u32.patch net-netfilter-rename-random32-to-prandom_u32.patch net-core-rename-random32-to-prandom_u32.patch net-core-remove-duplicate-statements-by-do-while-loop.patch net-rename-random32-to-prandom.patch remove-unused-random32-and-srandom32.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html