aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorIuliana Prodan <iuliana.prodan@nxp.com>2019-07-31 16:08:15 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2019-08-09 15:11:52 +1000
commit0435d47e2627b76b6dfb59e2e95ffed7232bd0ed (patch)
tree298705b68ef2669a9b1d43272f1d404791c093ef /crypto
parentcrypto: caam - unregister algorithm only if the registration succeeded (diff)
downloadlinux-dev-0435d47e2627b76b6dfb59e2e95ffed7232bd0ed.tar.xz
linux-dev-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