summaryrefslogtreecommitdiff
path: root/crypto/algif_skcipher.c
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2018-01-25 17:57:54 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-02-15 23:26:47 +0800
commit4e92247a228c2d2c8a063842aa3dad2b0c9256f3 (patch)
treea7c5673d43d94d50ee09e6f3d12c9105db25337b /crypto/algif_skcipher.c
parentcd274594062b37c5169c997540f16207a3a50a4b (diff)
downloadlinux-crypto-4e92247a228c2d2c8a063842aa3dad2b0c9256f3.tar.gz
linux-crypto-4e92247a228c2d2c8a063842aa3dad2b0c9256f3.zip
crypto: rsa-pkcs1pad - Replace GFP_ATOMIC with GFP_KERNEL in pkcs1pad_encrypt_sign_complete
After checking all possible call chains to kzalloc here, my tool finds that this kzalloc is never called in atomic context. Thus GFP_ATOMIC is not necessary, and it can be replaced with GFP_KERNEL. This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algif_skcipher.c')
0 files changed, 0 insertions, 0 deletions