summaryrefslogtreecommitdiff
path: root/rust/helpers/cred.c
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-10-30 17:32:17 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2025-11-06 14:31:08 +0800
commitb6410c1e50164da0542b671fc14caf4cff1c4819 (patch)
treeb65e160262e7513c2a7c2a7a6324558a40e7d455 /rust/helpers/cred.c
parent9fc6290117259a8dbf8247cb54559df62fd1550f (diff)
crypto: deflate - Use struct_size to improve deflate_alloc_stream
Use struct_size(), which provides additional compile-time checks for structures with flexible array members (e.g., __must_be_array()), to calculate the allocation size for a new 'deflate_stream'. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'rust/helpers/cred.c')
0 files changed, 0 insertions, 0 deletions