summaryrefslogtreecommitdiff
path: root/drivers/crypto/n2_core.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-10-27 18:35:17 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2023-11-17 19:16:28 +0800
commit0501d0d14949004301012b82914791937c4fbb25 (patch)
tree8573a0151929cbf493502c4751c89b393dc4b8d6 /drivers/crypto/n2_core.c
parent588a90ac252c7cd0434859e749eeed1f8e5a1f90 (diff)
downloadlinux-0501d0d14949004301012b82914791937c4fbb25.tar.gz
linux-0501d0d14949004301012b82914791937c4fbb25.tar.bz2
linux-0501d0d14949004301012b82914791937c4fbb25.zip
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>
Diffstat (limited to 'drivers/crypto/n2_core.c')
0 files changed, 0 insertions, 0 deletions