android_kernel_motorola_sm6375/drivers/crypto
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Giovanni Cabiddu e4c864a14a crypto: qat - fix seq_file position update in adf_ring_next()
[ Upstream commit 6908c5f4f066a0412c3d9a6f543a09fa7d87824b ]

The `adf_ring_next()` function in the QAT debug transport interface
fails to correctly update the position index when reaching the end of
the ring elements. This triggers the following kernel warning when
reading ring files, such as
/sys/kernel/debug/qat_c6xx_<D:B:D:F>/transport/bank_00/ring_00:

   [27725.022965] seq_file: buggy .next function adf_ring_next [intel_qat] did not update position index

Ensure that the `*pos` index is incremented before returning NULL when
after the last element in the ring is found, satisfying the seq_file API
requirements and preventing the warning.

Fixes: a672a9dc87 ("crypto: qat - Intel(R) QAT transport code")
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Ahsan Atta <ahsan.atta@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-28 16:21:21 +02:00
..
amcc crypto: crypto4xx - Call dma_unmap_page when done 2023-03-11 16:43:42 +01:00
axis
bcm crypto: bcm - add error check in the ahash_hmac_init function 2024-12-14 19:44:23 +01:00
caam crypto: caam/jr - fix Chacha20 + Poly1305 self test failure 2023-11-20 10:30:12 +01:00
cavium crypto: cavium - Fix an error handling path in cpt_ucode_load_fw() 2024-12-14 19:44:23 +01:00
ccp crypto: ccp - Fix crash when rebind ccp device for ccp.ko 2025-08-28 16:21:20 +02:00
ccree crypto: ccree - Make cc_debugfs_global_fini() available for module init function 2023-01-18 11:41:18 +01:00
chelsio chelsio/chtls: prevent potential integer overflow on 32bit 2025-01-09 13:23:28 +01:00
hisilicon crypto: hisilicon - Kunpeng916 crypto driver don't sleep when in softirq 2022-08-25 11:17:42 +02:00
inside-secure crypto: safexcel - Cleanup ring IRQ workqueues on load failure 2023-05-17 11:35:58 +02:00
marvell crypto: marvell/cesa - Fix engine load inaccuracy 2025-08-28 16:21:20 +02:00
mediatek
nx crypto: nx - fix build warnings when DEBUG_FS is not enabled 2023-07-27 08:37:18 +02:00
qat crypto: qat - fix seq_file position update in adf_ring_next() 2025-08-28 16:21:21 +02:00
qce crypto: qce - unregister previously registered algos in error path 2025-03-13 12:43:10 +01:00
rockchip
stm32 crypto: stm32/crc32 - fix parsing list of devices 2024-02-23 08:24:55 +01:00
sunxi-ss
ux500 crypto: ux500 - Fix error return code in hash_hw_final() 2021-07-14 16:53:20 +02:00
virtio crypto: virtio - Wait for tasklet to complete on device remove 2024-01-25 14:34:24 -08:00
vmx crypto: vmx - add missing dependencies 2022-04-15 14:18:05 +02:00
atmel-aes-regs.h
atmel-aes.c
atmel-authenc.h
atmel-ecc.c
atmel-i2c.c
atmel-i2c.h
atmel-sha-regs.h
atmel-sha.c
atmel-sha204a.c crypto: atmel-sha204a - Set hwrng quality to lowest possible 2025-05-02 07:39:30 +02:00
atmel-tdes-regs.h
atmel-tdes.c
exynos-rng.c
geode-aes.c
geode-aes.h
hifn_795x.c
img-hash.c crypto: img-hash - Fix dma_unmap_sg() nents value 2025-08-28 16:21:21 +02:00
ixp4xx_crypto.c crypto: ixp4xx - dma_unmap the correct address 2021-07-14 16:53:20 +02:00
Kconfig
Makefile
mxs-dcp.c crypto: mxs-dcp - Fix scatterlist processing 2022-04-15 14:18:04 +02:00
n2_asm.S
n2_core.c crypto: n2 - add missing hash statesize 2023-01-18 11:41:50 +01:00
n2_core.h
omap-aes-gcm.c
omap-aes.c crypto: omap-aes - Fix broken pm_runtime_and_get() usage 2022-01-27 09:19:49 +01:00
omap-aes.h
omap-crypto.c
omap-crypto.h
omap-des.c
omap-sham.c crypto: omap-sham - Use pm_runtime_resume_and_get() in omap_sham_probe() 2023-01-18 11:41:20 +01:00
padlock-aes.c
padlock-sha.c
picoxcell_crypto.c
picoxcell_crypto_regs.h
qcom-rng.c crypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ 2022-05-25 09:14:34 +02:00
s5p-sss.c crypto: s5p-sss - Add error handling in s5p_aes_probe() 2021-11-17 09:48:17 +01:00
sahara.c crypto: sahara - do not resize req->src when doing hash operations 2024-01-25 14:34:24 -08:00
talitos.c
talitos.h