kernel_samsung_a53x/drivers/crypto
Giovanni Cabiddu d089036960 crypto: qat - increase size of buffers
[ Upstream commit 4e4e2ed22d505c5bacf65c6a39bfb6d120d24785 ]

Increase the size of the buffers used for composing the names used for
the transport debugfs entries and the vector name to avoid a potential
truncation.

This resolves the following errors when compiling the driver with W=1
and KCFLAGS=-Werror on GCC 12.3.1:

    drivers/crypto/intel/qat/qat_common/adf_transport_debug.c: In function ‘adf_ring_debugfs_add’:
    drivers/crypto/intel/qat/qat_common/adf_transport_debug.c💯60: error: ‘snprintf’ output may be truncated before the last format character [-Werror=format-truncation=]
    drivers/crypto/intel/qat/qat_common/adf_isr.c: In function ‘adf_isr_resource_alloc’:
    drivers/crypto/intel/qat/qat_common/adf_isr.c:197:47: error: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 5 [-Werror=format-truncation=]

Fixes: a672a9dc872e ("crypto: qat - Intel(R) QAT transport code")
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Damian Muszynski <damian.muszynski@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 11:43:03 +01:00
..
allwinner Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amcc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amlogic Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
axis Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
caam crypto: caam/jr - fix Chacha20 + Poly1305 self test failure 2024-11-18 11:43:03 +01:00
cavium Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ccp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ccree Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
chelsio Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fmp drivers: fmp: remove failing command 2024-06-15 16:28:48 -03:00
fmp_simulator Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hisilicon crypto: hisilicon/hpre - Fix a erroneous check after snprintf() 2024-11-18 11:43:02 +01:00
inside-secure Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
marvell Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mediatek Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qat crypto: qat - increase size of buffers 2024-11-18 11:43:03 +01:00
qce Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stm32 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ux500 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
virtio Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xilinx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atmel-aes-regs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atmel-aes.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atmel-authenc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atmel-ecc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atmel-i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atmel-i2c.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atmel-sha-regs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atmel-sha.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atmel-sha204a.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atmel-tdes-regs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atmel-tdes.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-rng.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
geode-aes.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
geode-aes.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hifn_795x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
img-hash.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixp4xx_crypto.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mxs-dcp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
n2_asm.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
n2_core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
n2_core.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap-aes-gcm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap-aes.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap-aes.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap-crypto.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap-crypto.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap-des.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap-sham.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
padlock-aes.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
padlock-sha.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
picoxcell_crypto.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
picoxcell_crypto_regs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom-rng.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
s5p-sss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sa2ul.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sa2ul.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sahara.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
talitos.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
talitos.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00