Commit 0501d0d1 authored by Herbert Xu's avatar Herbert Xu
Browse files

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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 588a90ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment