diff options
author | Jack Xu <jack.xu@intel.com> | 2020-11-06 19:27:40 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-11-13 20:38:46 +1100 |
commit | 3b5c130fb2e4c045369791c33c83b59f6e84f7d6 (patch) | |
tree | d0872ca0702f234d2f008e307fff04df0ba50f5b /Documentation/parisc | |
parent | f21406b0511d53f9370d9de8713dea7c09f9f248 (diff) | |
download | linux-3b5c130fb2e4c045369791c33c83b59f6e84f7d6.tar.bz2 |
crypto: qat - fix status check in qat_hal_put_rel_rd_xfer()
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: 8c9478a400b7 ("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>
Diffstat (limited to 'Documentation/parisc')
0 files changed, 0 insertions, 0 deletions