Re: [PATCH] net/mlx5e: ethtool: Fix formatting of ptp_rq0_csum_complete_tail_slow

From: patchwork-bot+netdevbpf
Date: Thu Apr 17 2025 - 22:10:38 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Tue, 15 Apr 2025 19:01:14 -0700 you wrote:
> The new GCC 15 warning -Wunterminated-string-initialization reports:
>
> In file included from drivers/net/ethernet/mellanox/mlx5/core/en.h:55,
> from drivers/net/ethernet/mellanox/mlx5/core/en_stats.c:34:
> drivers/net/ethernet/mellanox/mlx5/core/en_stats.h:57:46: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (33 chars into 32 available) [-Wunterminated-string-initialization]
> 57 | #define MLX5E_DECLARE_PTP_RQ_STAT(type, fld) "ptp_rq%d_"#fld, offsetof(type, fld)
> | ^~~~~~~~~~~
> drivers/net/ethernet/mellanox/mlx5/core/en_stats.c:2279:11: note: in expansion of macro 'MLX5E_DECLARE_PTP_RQ_STAT'
> 2279 | { MLX5E_DECLARE_PTP_RQ_STAT(struct mlx5e_rq_stats, csum_complete_tail_slow) },
> | ^~~~~~~~~~~~~~~~~~~~~~~~~
>
> [...]

Here is the summary with links:
- net/mlx5e: ethtool: Fix formatting of ptp_rq0_csum_complete_tail_slow
https://git.kernel.org/netdev/net-next/c/cfba1d1b61ae

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html