linux-stable/lib/reed_solomon
Jason A. Donenfeld 8032bf1233 treewide: use get_random_u32_below() instead of deprecated function
This is a simple mechanical transformation done by:

@@
expression E;
@@
- prandom_u32_max
+ get_random_u32_below
  (E)

Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Darrick J. Wong <djwong@kernel.org> # for xfs
Reviewed-by: SeongJae Park <sj@kernel.org> # for damon
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> # for infiniband
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> # for arm
Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # for mmc
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-11-18 02:15:15 +01:00
..
decode_rs.c rslib: Fix remaining decoder flaws 2019-06-26 14:55:47 +02:00
encode_rs.c rslib: Split rs control struct 2018-04-24 19:50:08 -07:00
Makefile rslib: Add tests for the encoder and decoder 2019-06-26 14:55:45 +02:00
reed_solomon.c rslib: Update documentation 2019-06-26 14:55:47 +02:00
test_rslib.c treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00