diff options
| author | Artem Savkov <[email protected]> | 2018-02-06 21:20:21 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2018-02-08 11:38:13 +0000 |
| commit | dd78c832ffaf86eb6434e56de4bc3bc31f03f771 (patch) | |
| tree | d079cfacd6698789b8382005662f3456a35610d3 /net/unix/af_unix.c | |
| parent | crypto: caam - fix endless loop when DECO acquire fails (diff) | |
| download | kernel-dd78c832ffaf86eb6434e56de4bc3bc31f03f771.tar.gz kernel-dd78c832ffaf86eb6434e56de4bc3bc31f03f771.zip | |
crypto: sun4i_ss_prng - fix return value of sun4i_ss_prng_generate
According to crypto/rng.h generate function should return 0 on success
and < 0 on error.
Fixes: b8ae5c7387ad ("crypto: sun4i-ss - support the Security System PRNG")
Signed-off-by: Artem Savkov <[email protected]>
Acked-by: Corentin Labbe <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
