On 4/30/24 12:41, Ales Musil wrote:
> 
> 
> On Fri, Apr 26, 2024 at 7:44 PM Ilya Maximets <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     Clang 18.1.3-2.fc41 throws a warning:
> 
>       lib/tc.c:3060:25: error: field 'sel' with variable sized type
>                 'struct tc_pedit_sel' not at the end of a struct or class is a
>                 GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
> 
>        3060 |         struct tc_pedit sel;
>             |                         ^
> 
>     Refactor the structure into a proper union to avoid the build failure.
> 
>     Interestingly, clang 18.1.3-2.fc41 on Fedora throws a warning, but
>     relatively the same version 18.1.3 (1) on Ubuntu 23.04 does not.
> 
>     Signed-off-by: Ilya Maximets <[email protected] 
> <mailto:[email protected]>>
>     ---
>
> Looks good to me, thanks.
> 
> Acked-by: Ales Musil <[email protected] <mailto:[email protected]>>


Thanks, Ales!  Applied to all branches down to 2.17.

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to