[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176938140735.4002147.442926192309734143.git-patchwork-notify@kernel.org>
Date: Sun, 25 Jan 2026 22:50:07 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Zeng Chi <zeng_chi911@....com>
Cc: saeedm@...dia.com, leon@...nel.org, tariqt@...dia.com, mbloch@...dia.com,
davem@...emloft.net, andrew+netdev@...n.ch, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, feliu@...dia.com, parav@...dia.com,
witu@...dia.com, ajayachandra@...dia.com, netdev@...r.kernel.org,
linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org, zengchi@...inos.cn
Subject: Re: [PATCH v3 net] net/mlx5: Fix return type mismatch in
mlx5_esw_vport_vhca_id()
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 23 Jan 2026 16:57:49 +0800 you wrote:
> From: Zeng Chi <zengchi@...inos.cn>
>
> The function mlx5_esw_vport_vhca_id() is declared to return bool,
> but returns -EOPNOTSUPP (-45), which is an int error code. This
> causes a signedness bug as reported by smatch.
>
> This patch fixes this smatch report:
> drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:981 mlx5_esw_vport_vhca_id()
> warn: signedness bug returning '(-45)'
>
> [...]
Here is the summary with links:
- [v3,net] net/mlx5: Fix return type mismatch in mlx5_esw_vport_vhca_id()
https://git.kernel.org/netdev/net/c/ca12c4a155eb
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists