diff options
| author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2025-11-24 18:42:08 +0900 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-25 19:25:24 -0800 |
| commit | d696c73716147cb3158f1da1b89d7e75af3aa285 (patch) | |
| tree | 98989680e149404e1b84a9d237bf5e2d29961606 /tools/lib/python/kdoc/parse_data_structs.py | |
| parent | 864f3eda0034a2a7421cb5daf045e9d2ca8b6aae (diff) | |
chtls: Avoid -Wflex-array-member-not-at-end warning
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are
getting ready to enable it, globally.
Use the `DEFINE_RAW_FLEX()` helper for on-stack definitions of
a flexible structure where the size of the flexible-array member
is known at compile-time, and refactor the rest of the code,
accordingly.
So, with these changes, fix the following warning:
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:163:36: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://patch.msgid.link/aSQocKoJGkN0wzEj@kspp
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
