crypto: chcr - Return correct error code
authorHarsh Jain <harsh@chelsio.com>
Thu, 15 Jun 2017 07:13:41 +0000 (12:43 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Jun 2017 03:21:34 +0000 (11:21 +0800)
commit5fe8c7117d78dea231bc7a546a68c1af9fd37cc0
treead7aa626167440cf05ccc466aabd4d5498a58b9b
parent4dbeae4237c15d3104147ab5f79ecbde9511f49f
crypto: chcr - Return correct error code

Return correct error instead of EINVAL.

Signed-off-by: Harsh Jain <harsh@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_algo.c