[PATCH 1/2] crypto: atmel-ecc - simplify control flow in atmel_ecdh_set_secret

Herbert Xu herbert at gondor.apana.org.au
Mon Aug 10 01:26:31 PDT 2026


On Tue, Jul 28, 2026 at 10:58:26PM +0200, Thorsten Blum wrote:
> Free the public key directly on I2C transaction failure and remove the
> free_public_key label to simplify the code.
> 
> Signed-off-by: Thorsten Blum <thorsten.blum at linux.dev>
> ---
>  drivers/crypto/atmel-ecc.c | 11 ++++-------
>  1 file changed, 4 insertions(+), 7 deletions(-)

All applied.  Thanks.
-- 
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



More information about the linux-arm-kernel mailing list