crypto: marvell/cesa - Silence gcc format-truncation false positive warnings
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Oct 2023 10:35:17 +0000 (18:35 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 17 Nov 2023 11:16:28 +0000 (19:16 +0800)
commit0501d0d14949004301012b82914791937c4fbb25
tree8573a0151929cbf493502c4751c89b393dc4b8d6
parent588a90ac252c7cd0434859e749eeed1f8e5a1f90
crypto: marvell/cesa - Silence gcc format-truncation false positive warnings

The heuristics used by gcc triggers false positive truncation
warnings in hifn_alg_alloc.  The warnings are false positives
because nengines is at most 2.

Make the buffer bigger and change the snprintf to use unsigned
integers to eliminate these warnings.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/cesa/cesa.c