Re: [PATCH net-next] net/mlx5: Fix an IS_ERR() vs NULL bug in esw_qos_move_node()

From: patchwork-bot+netdevbpf
Date: Thu Jul 17 2025 - 22:01:56 EST


Hello:

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

On Tue, 15 Jul 2025 18:01:30 -0500 you wrote:
> The __esw_qos_alloc_node() function returns NULL on error. It doesn't
> return error pointers. Update the error checking to match.
>
> Fixes: 96619c485fa6 ("net/mlx5: Add support for setting tc-bw on nodes")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> ---
> drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)

Here is the summary with links:
- [net-next] net/mlx5: Fix an IS_ERR() vs NULL bug in esw_qos_move_node()
https://git.kernel.org/netdev/net-next/c/49be1e245ea3

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