[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175700160776.1861500.1788148261936427607.git-patchwork-notify@kernel.org>
Date: Thu, 04 Sep 2025 16:00:07 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Qianfeng Rong <rongqianfeng@...o.com>
Cc: andrew@...n.ch, olteanv@...il.com, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: dsa: dsa_loop: use int type to store negative error
codes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 3 Sep 2025 20:34:03 +0800 you wrote:
> Change the 'ret' variable in dsa_loop_init() from unsigned int to int, as
> it needs to store either negative error codes or zero returned by
> mdio_driver_register().
>
> Storing the negative error codes in unsigned type, doesn't cause an issue
> at runtime but can be confusing. Additionally, assigning negative error
> codes to unsigned type may trigger a GCC warning when the -Wsign-conversion
> flag is enabled.
>
> [...]
Here is the summary with links:
- net: dsa: dsa_loop: use int type to store negative error codes
https://git.kernel.org/netdev/net-next/c/a50e7864ca44
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