summaryrefslogtreecommitdiff
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-05-08 13:57:17 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2026-05-15 13:08:48 +0300
commit6b261b9bae589b8bbcaca5ededc0caf0b2f3a0af (patch)
tree93bb57c0186b3183515aed8ce1e9487fb45e2a53 /scripts/checkstack.pl
parentc36faca103a685590281412e47df74b550f71886 (diff)
downloadlinux-6b261b9bae589b8bbcaca5ededc0caf0b2f3a0af.tar.xz
crypto: api - use designated initializers for report structs
Use designated initializers for the report structs instead of clearing the struct with memset() and then copying fixed strings with strscpy() at runtime. This keeps the structs zero-initialized, lets the compiler diagnose oversized string literals, and makes the code easier to read. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions