diff options
| author | Svyatoslav Pankratov <svyatoslav.pankratov@intel.com> | 2023-10-09 15:27:19 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-10-20 08:39:25 +0300 |
| commit | 01aed663e6c421aeafc9c330bda630976b50a764 (patch) | |
| tree | d618a0c98fd25d3a2a0f41102d4f1db189ec42c7 /tools/perf/scripts/python | |
| parent | fdcac2ddc759752cb4886138d89a8c06bf5086a7 (diff) | |
| download | linux-01aed663e6c421aeafc9c330bda630976b50a764.tar.xz | |
crypto: qat - fix double free during reset
There is no need to free the reset_data structure if the recovery is
unsuccessful and the reset is synchronous. The function
adf_dev_aer_schedule_reset() handles the cleanup properly. Only
asynchronous resets require such structure to be freed inside the reset
worker.
Fixes: d8cba25d2c68 ("crypto: qat - Intel(R) QAT driver framework")
Signed-off-by: Svyatoslav Pankratov <svyatoslav.pankratov@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
