Skip to content
Snippets Groups Projects
Commit b04a27ca authored by YueHaibing's avatar YueHaibing Committed by Herbert Xu
Browse files

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: 2debd332 ("crypto: chcr - Add AEAD algos.")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 16c8ad7b
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment