diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-02-20 17:03:13 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-03-07 08:12:20 +0300 |
| commit | 095d50008d55d13f8fcf1bbeb7c6eba51779bc85 (patch) | |
| tree | 048bc40541973f3c864fe47338ab9a3b875e674b /include/linux | |
| parent | de4e66b763d1e81188cb2803ec109466582fc9d1 (diff) | |
| download | linux-095d50008d55d13f8fcf1bbeb7c6eba51779bc85.tar.xz | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
