commit | 1ca2809897155f1adc43e4859b4a3582e235c09a | [log] [tgz] |
---|---|---|
author | Jia-Ju Bai <baijiaju1990@gmail.com> | Thu Jan 25 17:57:54 2018 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Feb 15 23:26:47 2018 +0800 |
tree | efd82bd91aff83220967913a3783b8dab3cb4831 | |
parent | c7f582f5de82f16b5e2eae80d0228e9fd0749040 [diff] |
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>