[PATCH v6 0/6] Fix LTO compilation warnings
David Marchand
david.marchand at redhat.com
Tue Mar 3 17:24:35 CET 2026
On Thu, 5 Feb 2026 at 18:58, Stephen Hemminger
<stephen at networkplumber.org> wrote:
>
> This series fixes compilation warnings and one buffer overflow bug
> exposed when building DPDK with Link Time Optimization (LTO) enabled.
>
> v6:
> - net/mlx5: use __rte_assume() instead of runtime bounds check
> per Dariusz Sosnowski's review, avoiding any overhead on the
> flow creation fast path
>
> Stephen Hemminger (6):
> common/cnxk: replace variable length state array
> common/cnxk: replace variable length array
> common/cnxk: re-enable vla warnings
> common/cnxk: fix buffer overflow in SA setup
> ring: use inline instead of always inline in soring
> net/mlx5: fix LTO stringop-overflow warning
>
> drivers/common/cnxk/meson.build | 1 -
> drivers/common/cnxk/roc_aes.c | 3 ++-
> drivers/common/cnxk/roc_nix_inl.c | 2 +-
> drivers/common/cnxk/roc_platform.c | 4 ++--
> drivers/net/mlx5/hws/mlx5dr_action.c | 11 +++++++++++
> lib/ring/soring.c | 4 ++--
> 6 files changed, 18 insertions(+), 7 deletions(-)
Series applied, thanks.
--
David Marchand
More information about the dev
mailing list