Re: [PATCH] crypto: iaa - Fix incorrect return value in save_iaa_wq()
From: Herbert Xu
Date: Fri Nov 14 2025 - 05:24:35 EST
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@xxxxxxxxxx>
> ---
> drivers/crypto/intel/iaa/iaa_crypto_main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt