commit | 59af156625ab1d11436b04806ee3c1c795b29a93 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Thu Sep 15 03:27:15 2016 +0000 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Sep 22 18:27:34 2016 +0800 |
tree | ac20c156e219c8de1d2e18b85294b65b68ea6f82 | |
parent | 36e09e1f874baf581604a76ce81aae0538eb0a23 [diff] |
crypto: omap-des - fix error return code in omap_des_probe() Fix to return error code -ENOMEM from the crypto_engine_alloc_init() error handling case instead of 0, as done elsewhere in this function. Fixes: f1b77aaca85a ("crypto: omap-des - Integrate with the crypto engine framework") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>