kernel_samsung_a53x/drivers/crypto/hisilicon
Christophe JAILLET c29ba6c029 crypto: hisilicon/hpre - Fix a erroneous check after snprintf()
[ Upstream commit c977950146720abff14e46d8c53f5638b06a9182 ]

This error handling looks really strange.
Check if the string has been truncated instead.

Fixes: 02ab994635eb ("crypto: hisilicon - Fixed some tiny bugs of HPRE")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 11:43:02 +01:00
..
hpre crypto: hisilicon/hpre - Fix a erroneous check after snprintf() 2024-11-18 11:43:02 +01:00
sec Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sec2 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
zip 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
qm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sgl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00