summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/crypto/crc-vpmsum_test.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-10-21 02:49:10 +0200
committerJakub Kicinski <kuba@kernel.org>2022-10-21 02:49:10 +0200
commit94adb5e29e0e583283183dbaa852ee9d7d0c4c26 (patch)
tree3038a63f3ed9632711100f1187c4c53c304b785b /arch/powerpc/crypto/crc-vpmsum_test.c
parentnet: ipa: Proactively round up to kmalloc bucket size (diff)
parentMerge tag 'net-6.1-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/netd... (diff)
downloadlinux-94adb5e29e0e583283183dbaa852ee9d7d0c4c26.tar.xz
linux-94adb5e29e0e583283183dbaa852ee9d7d0c4c26.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
No conflicts. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'arch/powerpc/crypto/crc-vpmsum_test.c')
-rw-r--r--arch/powerpc/crypto/crc-vpmsum_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/crypto/crc-vpmsum_test.c b/arch/powerpc/crypto/crc-vpmsum_test.c
index c1c1ef9457fb..273c527868db 100644
--- a/arch/powerpc/crypto/crc-vpmsum_test.c
+++ b/arch/powerpc/crypto/crc-vpmsum_test.c
@@ -82,7 +82,7 @@ static int __init crc_test_init(void)
if (len <= offset)
continue;
- prandom_bytes(data, len);
+ get_random_bytes(data, len);
len -= offset;
crypto_shash_update(crct10dif_shash, data+offset, len);