linux/drivers/crypto/intel
Thomas Fourier 702460e06a crypto: keembay - Add missing check after sg_nents_for_len()
[ Upstream commit 4e53be21dd ]

sg_nents_for_len() returns an int which is negative in case of error.

Fixes: 472b04444c ("crypto: keembay - Add Keem Bay OCS HCU driver")
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-10-15 12:03:43 +02:00
..
iaa crypto: iaa - Optimize rebalance_wq_table() 2025-05-14 17:45:22 +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-10-15 12:03:43 +02:00
qat This update includes the following changes: 2025-07-31 09:45:28 -07: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