Re: [PATCH] mlxsw: Add return value check for mlxsw_sp_port_get_stats_raw()

From: patchwork-bot+netdevbpf
Date: Thu Feb 13 2025 - 12:04:20 EST


Hello:

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

On Wed, 12 Feb 2025 23:23:11 +0800 you wrote:
> Add a check for the return value of mlxsw_sp_port_get_stats_raw()
> in __mlxsw_sp_port_get_stats(). If mlxsw_sp_port_get_stats_raw()
> returns an error, exit the function to prevent further processing
> with potentially invalid data.
>
> Fixes: 614d509aa1e7 ("mlxsw: Move ethtool_ops to spectrum_ethtool.c")
> Cc: stable@xxxxxxxxxxxxxxx # 5.9+
> Signed-off-by: Wentao Liang <vulab@xxxxxxxxxxx>
>
> [...]

Here is the summary with links:
- mlxsw: Add return value check for mlxsw_sp_port_get_stats_raw()
https://git.kernel.org/netdev/net/c/fee5d6889406

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