[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aUT6UC1WmtiDCmXl@gondor.apana.org.au>
Date: Fri, 19 Dec 2025 15:10:08 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Thorsten Blum <thorsten.blum@...ux.dev>
Cc: "David S. Miller" <davem@...emloft.net>, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: algapi - Use crypto_unregister_algs in
crypto_register_algs
On Thu, Dec 11, 2025 at 11:15:55AM +0100, Thorsten Blum wrote:
> Replace the for loop with a call to crypto_unregister_algs(). Return
> 'ret' immediately and remove the goto statement to simplify the error
> handling code.
>
> In crypto_unregister_algs(), unregister the algorithms in reverse order.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
> ---
> crypto/algapi.c | 14 +++++---------
> 1 file changed, 5 insertions(+), 9 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists