summaryrefslogtreecommitdiffstats
path: root/crypto/akcipher.c
diff options
context:
space:
mode:
authorSun Ke <sunke32@huawei.com>2022-08-30 05:13:47 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2022-09-09 10:18:32 +0200
commitdc377e013bec20dfedaec5d1f6327e4d57da359b (patch)
tree6d4b534380f6ada0eaf237947b7238ce49daa156 /crypto/akcipher.c
parentcrypto: aspeed - Fix sparse warnings (diff)
downloadlinux-dc377e013bec20dfedaec5d1f6327e4d57da359b.tar.xz
linux-dc377e013bec20dfedaec5d1f6327e4d57da359b.zip
crypto: aspeed - fix return value check in aspeed_hace_probe()
In case of error, the function devm_ioremap_resource() returns ERR_PTR() not NULL. The NULL test in the return value check must be replaced with IS_ERR(). Fixes: 108713a713c7 ("crypto: aspeed - Add HACE hash driver") Signed-off-by: Sun Ke <sunke32@huawei.com> Reviewed-by: Neal Liu<neal_liu@aspeedtech.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/akcipher.c')
0 files changed, 0 insertions, 0 deletions