diff options
author | Hongbo Li <[email protected]> | 2024-09-04 09:49:56 +0800 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-09-05 13:01:01 +0200 |
commit | 50ddaedeae7562b25e8eeca04f581d7c815be1db (patch) | |
tree | 4bbe682987f676e1ddf0a30ab06e9b38ea23ecbb /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | ed42b2bcd38e95a967287273144a7c7a1dbc97cb (diff) |
net: dsa: felix: Annotate struct action_gate_entry with __counted_by
Add the __counted_by compiler attribute to the flexible array member
entries to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
CONFIG_FORTIFY_SOURCE.
Signed-off-by: Hongbo Li <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions