kernel-fxtec-pro1x/drivers/crypto/cavium
Jia-Ju Bai 1c96dde100 crypto: cavium/nitrox - Replace GFP_ATOMIC with GFP_KERNEL in crypto_alloc_context()
crypto_alloc_context() is only called by nitrox_skcipher_init(), which is
never called in atomic context.

crypto_alloc_context() calls dma_pool_alloc() with GFP_ATOMIC,
which is not necessary.
GFP_ATOMIC can be replaced with GFP_KERNEL.

This is found by a static analysis tool named DCNS written by myself.
I also manually check the kernel code before reporting it.

Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2018-08-03 18:05:49 +08:00
..
cpt crypto: cavium - make structure algs static 2018-06-22 23:03:07 +08:00
nitrox crypto: cavium/nitrox - Replace GFP_ATOMIC with GFP_KERNEL in crypto_alloc_context() 2018-08-03 18:05:49 +08:00
zip crypto: cavium - Remove unnecessary parentheses 2018-04-28 16:09:38 +08:00
Makefile crypto: zip - Add ThunderX ZIP driver core 2017-03-09 18:34:25 +08:00