aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorJiasheng Jiang <[email protected]>2021-12-31 09:40:36 +0800
committerHerbert Xu <[email protected]>2022-01-07 14:30:01 +1100
commit5f21d7d283dd82865bdb0123795b3accf0d42b67 (patch)
tree36097762ae9524cbc46c2094cc197038c4cde865 /net/lapb/lapb_in.c
parentdd827abe296fe4249b2f8c9b95f72f814ea8348c (diff)
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 <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions