Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit ca06ef97 authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: hifn_795x - Silence gcc format-truncation false positive warnings

The heuristics used by gcc triggers false positive truncation
warnings in hifn_alg_alloc.  The warning triggered by the strings
here are clearly false positives (see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95755

).

Add checks on snprintf calls to silence these warnings, including
the one for cra_driver_name even though it does not currently trigger
a gcc warning.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 87d6621c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment