Commit 50ddaede authored by Hongbo Li's avatar Hongbo Li Committed by Paolo Abeni
Browse files

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: default avatarHongbo Li <lihongbo22@huawei.com>
Link: https://patch.msgid.link/20240904014956.2035117-1-lihongbo22@huawei.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent ed42b2bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment