diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2024-08-09 09:22:12 -0600 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-12 17:54:24 -0700 |
commit | e2d0fadd703c3a3a6ebe318ec82ea64c08d709c2 (patch) | |
tree | 7a3527b0b320497a38c5357be27a9564dd87b8e4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e96f6fd30eec4ba6e2ff7f855f24b552c5853b06 (diff) |
sched: act_ct: 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.
Remove unnecessary flex-array member `pad[]` and refactor the related
code a bit.
Fix the following warning:
net/sched/act_ct.c:57:29: 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/ZrY0JMVsImbDbx6r@cute
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions