diff options
| author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2025-09-23 22:45:10 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-24 16:23:02 -0700 |
| commit | b6db19d1df8a75b5f05f5fe487cbd09f48760a3c (patch) | |
| tree | a9a42306734a9ef673ab763492eefb2321e6dcba /rust/helpers/helpers.c | |
| parent | 5e3fee34f626a8cb8715f5b5409416c481714ebf (diff) | |
tls: Avoid -Wflex-array-member-not-at-end warning
Remove unused flexible-array member in struct tls_rec and, with this,
fix the following warning:
net/tls/tls.h:131:29: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]
Also, add a comment to prevent people from adding any members
after struct aead_request, which is a flexible structure --this is
a structure that ends in a flexible-array member.
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Link: https://patch.msgid.link/aNMG1lyXw4XEAVaE@kspp
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
