On Wed, 21 Jan 2026 at 12:08, Thomas Monjalon <[email protected]> wrote:
>
> The word "unused" is too common for being used in a header.
> There is a warning because a parameter is named "unused" in mbuf:
>
> lib/mbuf/rte_mbuf.h: In function 'rte_mbuf_tx_offload':
> error: declaration of 'unused' shadows a previous local [-Werror=shadow]
>  1910 |         uint64_t ol3, uint64_t ol2, uint64_t unused)
>       |                                     ~~~~~~~~~^~~~~~
>
> Such value should be prefixed with "MLX5".
>
> Fixes: bd935fe3e624 ("net/mlx5: wrap sampling actions per OS")
> Cc: [email protected]
>
> Signed-off-by: Thomas Monjalon <[email protected]>
Acked-by: David Marchand <[email protected]>


-- 
David Marchand

Reply via email to