diff options
author | Jia-Ju Bai <baijiaju1990@gmail.com> | 2018-01-25 11:06:02 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-02-15 16:26:47 +0100 |
commit | 9a69b7ae79d886e27db5164af91fbd75a0e0e89d (patch) | |
tree | c6c1df0d615b24ecdd75099cb43b130697698220 /crypto/lzo.c | |
parent | crypto: rsa-pkcs1pad - Replace GFP_ATOMIC with GFP_KERNEL in pkcs1pad_encrypt... (diff) | |
download | linux-9a69b7ae79d886e27db5164af91fbd75a0e0e89d.tar.xz linux-9a69b7ae79d886e27db5164af91fbd75a0e0e89d.zip |
crypto: user - Replace GFP_ATOMIC with GFP_KERNEL in crypto_report
After checking all possible call chains to crypto_report here,
my tool finds that crypto_report is never called in atomic context.
And crypto_report calls crypto_alg_match which calls down_read,
thus it proves again that crypto_report can call functions which may sleep.
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/lzo.c')
0 files changed, 0 insertions, 0 deletions