diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-04-11 18:04:09 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-04-21 14:30:37 +0200 |
commit | 7e207d8550644c1076ceb070f40abf52701253ec (patch) | |
tree | 5279de00c3ef3908c2213b17677209b40f66b141 /net/Makefile | |
parent | crypto: chcr - Add fallback for AEAD algos (diff) | |
download | linux-7e207d8550644c1076ceb070f40abf52701253ec.tar.xz linux-7e207d8550644c1076ceb070f40abf52701253ec.zip |
crypto: caam - fix error return code in caam_qi_init()
Fix to return error code -ENOMEM from the kmem_cache_create() error
handling case instead of 0(err is 0 here), as done elsewhere in this
function.
Fixes: 67c2315def06 ("crypto: caam - add Queue Interface (QI) backend support")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/Makefile')
0 files changed, 0 insertions, 0 deletions