linux_dsm_epyc7002/drivers/crypto/qat
Jack Xu 27a26763de crypto: qat - fix status check in qat_hal_put_rel_rd_xfer()
[ Upstream commit 3b5c130fb2e4c045369791c33c83b59f6e84f7d6 ]

The return value of qat_hal_rd_ae_csr() is always a CSR value and never
a status and should not be stored in the status variable of
qat_hal_put_rel_rd_xfer().

This removes the assignment as qat_hal_rd_ae_csr() is not expected to
fail.
A more comprehensive handling of the theoretical corner case which could
result in a fail will be submitted in a separate patch.

Fixes: 8c9478a400 ("crypto: qat - reduce stack size with KASAN")
Signed-off-by: Jack Xu <jack.xu@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Fiona Trahe <fiona.trahe@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:53:09 +01:00
..
qat_c3xxx crypto: qat - drop input parameter from adf_enable_aer() 2020-10-08 16:38:06 +11:00
qat_c3xxxvf crypto: qat - use PCI_VDEVICE 2020-09-18 17:20:10 +10:00
qat_c62x crypto: qat - drop input parameter from adf_enable_aer() 2020-10-08 16:38:06 +11:00
qat_c62xvf crypto: qat - use PCI_VDEVICE 2020-09-18 17:20:10 +10:00
qat_common crypto: qat - fix status check in qat_hal_put_rel_rd_xfer() 2020-12-30 11:53:09 +01:00
qat_dh895xcc crypto: qat - drop input parameter from adf_enable_aer() 2020-10-08 16:38:06 +11:00
qat_dh895xccvf crypto: qat - use PCI_VDEVICE 2020-09-18 17:20:10 +10:00
Kconfig crypto: skcipher - rename the crypto_blkcipher module and kconfig option 2019-11-01 13:42:47 +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