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)
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>

Trivial merge