Re: [PATCH -next] crypto: caam - fix error return code in caam_qi_init()

2017-04-21 Thread Herbert Xu
On Tue, Apr 11, 2017 at 04:04:09PM +, Wei Yongjun wrote: > From: Wei Yongjun > > 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:

Re: [PATCH -next] crypto: caam - fix error return code in caam_qi_init()

2017-04-12 Thread Horia Geantă
On 4/11/2017 7:04 PM, Wei Yongjun wrote: > From: Wei Yongjun > > 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

[PATCH -next] crypto: caam - fix error return code in caam_qi_init()

2017-04-11 Thread Wei Yongjun
From: Wei Yongjun 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