diff options
| author | Iuliana Prodan <iuliana.prodan@nxp.com> | 2019-07-31 16:08:12 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-29 10:21:46 +0100 |
| commit | 8badac0c617bf866e5ba4792cb843258be19d7c3 (patch) | |
| tree | 0a69f34f232147d7edfe024bac2b1698acdc5bc7 /fs/ext4/inline.c | |
| parent | d0aa2a57c141f9f8b8eeb8938716bcd0ab4d3ec1 (diff) | |
crypto: caam - free resources in case caam_rng registration failed
[ Upstream commit c59a1d41672a89b5cac49db1a472ff889e35a2d2 ]
Check the return value of the hardware registration for caam_rng and free
resources in case of failure.
Fixes: e24f7c9e87d4 ("crypto: caam - hwrng support")
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Horia Geanta <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/ext4/inline.c')
0 files changed, 0 insertions, 0 deletions
