linux/drivers/crypto/intel
Zilin Guan 33d9ec273d crypto: iaa - Fix incorrect return value in save_iaa_wq()
[ Upstream commit 76ce17f6f7 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-12-18 13:54:59 +01:00
..
iaa crypto: iaa - Fix incorrect return value in save_iaa_wq() 2025-12-18 13:54:59 +01:00
ixp4xx crypto: ixp4xx - fix OF node reference leaks in init_ixp_crypto() 2025-02-08 09:57:30 +01:00
keembay crypto: keembay - Add missing check after sg_nents_for_len() 2025-10-15 12:00:05 +02:00
qat crypto: qat - use kcalloc() in qat_uclo_map_objs_from_mof() 2025-11-13 15:34:17 -05: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