projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01f224b
)
s390/crypto: use store_tod_clock_ext()
author
Heiko Carstens
<hca@linux.ibm.com>
Mon, 8 Feb 2021 15:44:45 +0000
(16:44 +0100)
committer
Vasily Gorbik
<gor@linux.ibm.com>
Sat, 13 Feb 2021 16:17:55 +0000
(17:17 +0100)
Use store_tod_clock_ext() in order to be able to get rid
get_tod_clock_ext().
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/crypto/prng.c
patch
|
blob
|
history
diff --git
a/arch/s390/crypto/prng.c
b/arch/s390/crypto/prng.c
index
b2f219e
..
234d791
100644
(file)
--- 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 */