summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2023-07-31 22:02:49 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2023-08-11 19:19:27 +0800
commit33b53749aa1f9fb0f5aa0ac37269944a080b982f (patch)
tree14a44a63d86c93a4987f7f705c2a1c1d34568f2b /lib/mpi/mpi-add.c
parentb9a281f1f72b9786a4cb04b4105c121f3333aabf (diff)
crypto: starfive - fix return value check in starfive_aes_prepare_req()
kzalloc() returns NULL pointer not PTR_ERR() when it fails, so replace the IS_ERR() check with NULL pointer check. Fixes: e22471c2331c ("crypto: starfive - Add AES skcipher and aead support") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions