From: Heiko Carstens Date: Mon, 8 Feb 2021 15:44:45 +0000 (+0100) Subject: s390/crypto: use store_tod_clock_ext() X-Git-Tag: v5.15~1740^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fc4a925f7774fe14f8f6318d0d7ed7d2596f073f;p=platform%2Fkernel%2Flinux-starfive.git s390/crypto: use store_tod_clock_ext() Use store_tod_clock_ext() in order to be able to get rid get_tod_clock_ext(). Signed-off-by: Heiko Carstens Signed-off-by: Vasily Gorbik --- diff --git a/arch/s390/crypto/prng.c b/arch/s390/crypto/prng.c index b2f219e..234d791 100644 --- a/arch/s390/crypto/prng.c +++ b/arch/s390/crypto/prng.c @@ -414,7 +414,7 @@ static int __init prng_sha512_instantiate(void) } /* append the seed by 16 bytes of unique nonce */ - get_tod_clock_ext(seed + seedlen); + store_tod_clock_ext((union tod_clock *)(seed + seedlen)); seedlen += 16; /* now initial seed of the prno drng */