[PATCH v10 03/21] eal/common: remove use of VLAs

Stephen Hemminger stephen at networkplumber.org
Wed Nov 20 18:13:02 CET 2024


On Tue, 19 Nov 2024 19:13:03 -0800
Andre Muezerie <andremue at linux.microsoft.com> wrote:

> From: Konstantin Ananyev <konstantin.ananyev at huawei.com>
> 
> 1) ../lib/eal/common/eal_common_proc.c:695:15
>     : warning: variable length array used
> 
> As msg->num_fds should not exceed RTE_MP_MAX_FD_NUM, replaced
> it with fixed size array.
> 
> Signed-off-by: Konstantin Ananyev <konstantin.ananyev at huawei.com>

Acked-by: Stephen Hemminger <stephen at networkplumber.org>


More information about the dev mailing list