aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <[email protected]>2022-10-05 15:49:46 +0000
committerJason A. Donenfeld <[email protected]>2022-10-11 23:42:58 +0000
commit197173db990cad244221ba73c43b1df6170ae278 (patch)
treeb3a91c349a525ec3f660ecfc19bf9372e9cbb016 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
parenttreewide: use get_random_u32() when possible (diff)
downloadkernel-197173db990cad244221ba73c43b1df6170ae278.tar.gz
kernel-197173db990cad244221ba73c43b1df6170ae278.zip
treewide: use get_random_bytes() when possible
The prandom_bytes() function has been a deprecated inline wrapper around get_random_bytes() for several releases now, and compiles down to the exact same code. Replace the deprecated wrapper with a direct call to the real function. This was done as a basic find and replace. Reviewed-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Yury Norov <[email protected]> Reviewed-by: Christophe Leroy <[email protected]> # powerpc Acked-by: Jakub Kicinski <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions