[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aYXKK5zNsZyXpVhN@gondor.apana.org.au>
Date: Fri, 6 Feb 2026 19:02:03 +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: img-hash - Use unregister_ahashes in
img_{un}register_algs
On Sun, Feb 01, 2026 at 06:56:33PM +0100, Thorsten Blum wrote:
> Replace the for loops with calls to crypto_unregister_ahashes(). In
> img_register_algs(), return 'err' immediately and remove the goto
> statement to simplify the error handling code.
>
> Convert img_unregister_algs() to a void function since its return value
> is never used.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
> ---
> drivers/crypto/img-hash.c | 21 +++++++--------------
> 1 file changed, 7 insertions(+), 14 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