linux/drivers/crypto/intel
Thomas Fourier 353856179c 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:00:05 +02:00
..
iaa crypto: iaa - Do not clobber req->base.data 2025-07-10 16:04:54 +02: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 - flush misc workqueue during device shutdown 2025-08-28 16:30:55 +02: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