linux-sg2042/drivers/crypto/qat
Jia-Ju Bai 8e8c0386b1 crypto: qat/adf_aer - Replace GFP_ATOMIC with GFP_KERNEL in adf_dev_aer_schedule_reset()
adf_dev_aer_schedule_reset() is never called in atomic context, as it
calls wait_for_completion_timeout().

adf_dev_aer_schedule_reset() calls kzalloc() 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
..
qat_c3xxx crypto: qat - Add MODULE_FIRMWARE for all qat drivers 2018-05-31 00:13:51 +08:00
qat_c3xxxvf crypto: qat - modify format of dev top level debugfs entries 2016-12-30 19:52:34 +08:00
qat_c62x crypto: qat - Add MODULE_FIRMWARE for all qat drivers 2018-05-31 00:13:51 +08:00
qat_c62xvf crypto: qat - modify format of dev top level debugfs entries 2016-12-30 19:52:34 +08:00
qat_common crypto: qat/adf_aer - Replace GFP_ATOMIC with GFP_KERNEL in adf_dev_aer_schedule_reset() 2018-08-03 18:05:49 +08:00
qat_dh895xcc crypto: qat - Add MODULE_FIRMWARE for all qat drivers 2018-05-31 00:13:51 +08:00
qat_dh895xccvf crypto: qat - modify format of dev top level debugfs entries 2016-12-30 19:52:34 +08:00
Kconfig crypto: qat - Add DH support 2016-07-11 18:03:10 +08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00