crypto: chelsio - Fix passing zero to 'PTR_ERR' warning in chcr_aead_op
authorYueHaibing <yuehaibing@huawei.com>
Wed, 23 Jan 2019 06:55:17 +0000 (14:55 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Feb 2019 06:42:04 +0000 (14:42 +0800)
commitb04a27ca175d66f3662ad334f538254d560838f9
treecfbb6740c1044862a1b5d3e49136c1f0bdb122df
parent16c8ad7b5f124a427708730a16a4375fcadadfed
crypto: chelsio - Fix passing zero to 'PTR_ERR' warning in chcr_aead_op

Fix a static code checker warning:
drivers/crypto/chelsio/chcr_algo.c:3681
 chcr_aead_op() warn: passing zero to 'PTR_ERR'

Fixes: 2debd3325e55 ("crypto: chcr - Add AEAD algos.")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_algo.c