[PATCH v3 03/19] eal/common: remove use of VLAs
Stephen Hemminger
stephen at networkplumber.org
Tue May 7 02:42:58 CEST 2024
On Mon, 6 May 2024 11:18:35 -0700
Tyler Retzlaff <roretzla 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