summaryrefslogtreecommitdiffstats
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
authorJiasheng Jiang <jiasheng@iscas.ac.cn>2021-12-31 02:40:36 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2022-01-07 04:30:01 +0100
commit5f21d7d283dd82865bdb0123795b3accf0d42b67 (patch)
tree36097762ae9524cbc46c2094cc197038c4cde865 /net/mac80211/main.c
parentlib/mpi: Add the return value check of kcalloc() (diff)
downloadlinux-5f21d7d283dd82865bdb0123795b3accf0d42b67.tar.xz
linux-5f21d7d283dd82865bdb0123795b3accf0d42b67.zip
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>
Diffstat (limited to 'net/mac80211/main.c')
0 files changed, 0 insertions, 0 deletions