diff options
author | Iuliana Prodan <iuliana.prodan@nxp.com> | 2019-07-31 15:08:15 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-08-09 07:11:52 +0200 |
commit | 0435d47e2627b76b6dfb59e2e95ffed7232bd0ed (patch) | |
tree | 298705b68ef2669a9b1d43272f1d404791c093ef /crypto | |
parent | crypto: caam - unregister algorithm only if the registration succeeded (diff) | |
download | linux-0435d47e2627b76b6dfb59e2e95ffed7232bd0ed.tar.xz linux-0435d47e2627b76b6dfb59e2e95ffed7232bd0ed.zip |
crypto: caam - change return value in case CAAM has no MDHA
To be consistent with other CAAM modules, caamhash should return 0
instead of -ENODEV in case CAAM has no MDHA.
Based on commit 1b46c90c8e00 ("crypto: caam - convert top level drivers to libraries")
the value returned by entry point is never checked and
the exit point is always executed.
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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions