Re: [PATCH] mlxsw: spectrum_router: Replace 0-length array with flexible array
From: Petr Machata
Date: Sat Jan 07 2023 - 17:47:18 EST
Petr Machata <petrm@xxxxxxxxxx> writes:
> Kees Cook <keescook@xxxxxxxxxxxx> writes:
>
>> Zero-length arrays are deprecated[1]. Replace struct
>> mlxsw_sp_nexthop_group_info's "nexthops" 0-length array with a flexible
>> array.
[...]
> Thanks. I'll pass this through our nightly and report back.
Looking good.
Tested-by: Petr Machata <petrm@xxxxxxxxxx>