Re: [PATCH] crypto: caam/qi - fix error path in xts setkey

2018-08-25 Thread Herbert Xu
On Mon, Aug 06, 2018 at 03:29:39PM +0300, Horia Geantă wrote: > xts setkey callback returns 0 on some error paths. > Fix this by returning -EINVAL. > > Cc: # 4.12+ > Fixes: b189817cf789 ("crypto: caam/qi - add ablkcipher and authenc > algorithms") > Signed-off-by: Horia Geantă Patch applied.

[PATCH] crypto: caam/qi - fix error path in xts setkey

2018-08-06 Thread Horia Geantă
xts setkey callback returns 0 on some error paths. Fix this by returning -EINVAL. Cc: # 4.12+ Fixes: b189817cf789 ("crypto: caam/qi - add ablkcipher and authenc algorithms") Signed-off-by: Horia Geantă --- drivers/crypto/caam/caamalg_qi.c | 6 ++ 1 file changed, 2 insertions(+), 4