[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aRcDXZ3dgtGvofYe@gondor.apana.org.au>
Date: Fri, 14 Nov 2025 18:24:29 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Zilin Guan <zilin@....edu.cn>
Cc: kristen.c.accardi@...el.com, vinicius.gomes@...el.com,
davem@...emloft.net, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org, jianhao.xu@....edu.cn
Subject: Re: [PATCH] crypto: iaa - Fix incorrect return value in save_iaa_wq()
On Sun, Nov 09, 2025 at 02:56:48PM +0000, Zilin Guan wrote:
> The save_iaa_wq() function unconditionally returns 0, even when an error
> is encountered. This prevents the error code from being propagated to the
> caller.
>
> Fix this by returning the 'ret' variable, which holds the actual status
> of the operations within the function.
>
> Fixes: ea7a5cbb43696 ("crypto: iaa - Add Intel IAA Compression Accelerator crypto driver core")
> Signed-off-by: Zilin Guan <zilin@....edu.cn>
> ---
> drivers/crypto/intel/iaa/iaa_crypto_main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
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