Jiasheng Jiang 5f21d7d283 crypto: af_alg - rewrite NULL pointer check
Because of the possible alloc failure of the alloc_page(), it could
return NULL pointer.
And there is a check below the sg_assign_page().
But it will be more logical to move the NULL check before the
sg_assign_page().

Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2022-01-07 14:30:01 +11:00
..
2020-08-28 16:58:28 +10:00
2021-12-11 16:48:05 +11:00
2021-03-26 19:55:55 +11:00
2020-02-28 08:43:21 +08:00
2021-08-21 15:44:58 +08:00
2021-06-11 15:03:30 +08:00
2021-11-08 16:55:21 -08:00