diff options
author | GONG, Ruiqi <[email protected]> | 2023-08-09 15:51:36 +0800 |
---|---|---|
committer | Florian Westphal <[email protected]> | 2023-08-22 15:13:20 +0200 |
commit | a2f02c9920b2cc3c6cc1f2c2aee37354e6edd801 (patch) | |
tree | 830473882732b0c73d06928d7d30eb1d926b7b09 /tools/perf/scripts/python/stackcollapse.py | |
parent | a7ed3465daa240bdf01a5420f64336fee879c09d (diff) |
netfilter: ebtables: replace zero-length array members
As suggested by Kees[1], replace the old-style 0-element array members
of multiple structs in ebtables.h with modern C99 flexible array.
[1]: https://lore.kernel.org/all/[email protected]/
[ [email protected]:
keep struct ebt_entry_target as-is, causes compiler warning:
"variable sized type 'struct ebt_entry_target' not at the end of a
struct or class is a GNU extension" ]
Link: https://github.com/KSPP/linux/issues/21
Signed-off-by: GONG, Ruiqi <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions