mirror-linux/drivers/crypto/intel
Zilin Guan 76ce17f6f7 crypto: iaa - Fix incorrect return value in save_iaa_wq()
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: ea7a5cbb43 ("crypto: iaa - Add Intel IAA Compression Accelerator crypto driver core")
Signed-off-by: Zilin Guan <zilin@seu.edu.cn>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2025-11-14 18:15:49 +08:00
..
iaa crypto: iaa - Fix incorrect return value in save_iaa_wq() 2025-11-14 18:15:49 +08:00
ixp4xx crypto: ixp4xx - fix OF node reference leaks in init_ixp_crypto() 2024-12-21 22:46:24 +08:00
keembay crypto: keembay - Add missing check after sg_nents_for_len() 2025-08-16 17:22:46 +08:00
qat crypto: qat - add WQ_PERCPU to alloc_workqueue users 2025-11-14 18:15:49 +08:00
Kconfig crypto: iaa - Add Intel IAA Compression Accelerator crypto driver core 2023-12-15 17:52:53 +08:00
Makefile crypto: iaa - Add Intel IAA Compression Accelerator crypto driver core 2023-12-15 17:52:53 +08:00