Merge branch 'mlxsw-annotate-structs-with-__counted_by'
authorJakub Kicinski <kuba@kernel.org>
Mon, 2 Oct 2023 18:27:17 +0000 (11:27 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 2 Oct 2023 18:27:18 +0000 (11:27 -0700)
commitaf54c197a90b804b57eb7ae4256aaeb5c46216c5
treee8e2d645de8bab4ed81c0c6d7c0e125823c9b4b4
parent6d6e40ec48ca7195dceba681551dd92dc197b5a2
parent18cee9da32cdabd1cd9344e1369cd8adcc14d022
Merge branch 'mlxsw-annotate-structs-with-__counted_by'

Kees Cook says:

====================
mlxsw: Annotate structs with __counted_by

This annotates several mlxsw structures with the coming __counted_by attribute
for bounds checking of flexible arrays at run-time. For more details, see
commit dd06e72e68bc ("Compiler Attributes: Add __counted_by macro").
====================

Link: https://lore.kernel.org/r/20230929180611.work.870-kees@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>