diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-02-20 15:03:13 +0100 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-03-07 14:12:20 +0900 |
| commit | 095d50008d55d13f8fcf1bbeb7c6eba51779bc85 (patch) | |
| tree | 048bc40541973f3c864fe47338ab9a3b875e674b /tools/perf/scripts/python | |
| parent | de4e66b763d1e81188cb2803ec109466582fc9d1 (diff) | |
crypto: atmel-ecc - Release client on allocation failure
Call atmel_ecc_i2c_client_free() to release the I2C client reserved by
atmel_ecc_i2c_client_alloc() when crypto_alloc_kpp() fails. Otherwise
->tfm_count will be out of sync.
Fixes: 11105693fa05 ("crypto: atmel-ecc - introduce Microchip / Atmel ECC driver")
Cc: stable@vger.kernel.org
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
