OpenCloudOS-Kernel/net/802
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
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile net: 802: remove dead leftover after ipx driver removal 2021-08-13 16:30:35 -07:00
fc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
fddi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
garp.c treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
hippi.c net: 802: Use memset_startat() to clear struct fields 2021-11-19 11:23:23 +00:00
mrp.c treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
p8022.c llc/snap: constify dev_addr passing 2021-10-13 09:40:46 -07:00
psnap.c llc/snap: constify dev_addr passing 2021-10-13 09:40:46 -07:00
stp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00