Page MenuHomeFreeBSD

linuxkpi: Add prandom_u32_max
ClosedPublic

Authored by manu on May 22 2020, 5:20 PM.

Details

Summary

This is just a wrapper around arc4random_uniform
Needed by DRM v5.3

Sponsored-by: The FreeBSD Foundation

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.May 22 2020, 8:45 PM
cem added inline comments.
sys/compat/linuxkpi/common/include/linux/random.h
68 ↗(On Diff #72125)

style(9): return (arc4random_uniform(max));

This revision now requires review to proceed.May 23 2020, 12:10 PM
This revision was not accepted when it landed; it landed in state Needs Review.May 23 2020, 5:52 PM
Closed by commit rS361419: linuxkpi: Add prandom_u32_max (authored by manu). · Explain Why
This revision was automatically updated to reflect the committed changes.