mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
crypto: sun4i_ss_prng - fix return value of sun4i_ss_prng_generate
commitdd78c832ffupstream. According to crypto/rng.h generate function should return 0 on success and < 0 on error. Fixes:b8ae5c7387("crypto: sun4i-ss - support the Security System PRNG") Signed-off-by: Artem Savkov <artem.savkov@gmail.com> Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fff8ad7c18
commit
b3d33c5f29
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue