[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174163923577.3688527.14538492385967527349.git-patchwork-notify@kernel.org>
Date: Mon, 10 Mar 2025 20:40:35 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Oleksij Rempel <o.rempel@...gutronix.de>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, woojung.huh@...rochip.com, andrew+netdev@...n.ch,
broonie@...nel.org, kernel@...gutronix.de, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, UNGLinuxDriver@...rochip.com, phil@...pberrypi.org
Subject: Re: [PATCH net v1 1/1] net: usb: lan78xx: Sanitize return values of
register read/write functions
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 7 Mar 2025 11:12:23 +0100 you wrote:
> usb_control_msg() returns the number of transferred bytes or a negative
> error code. The current implementation propagates the transferred byte
> count, which is unintended. This affects code paths that assume a
> boolean success/failure check, such as the EEPROM detection logic.
>
> Fix this by ensuring lan78xx_read_reg() and lan78xx_write_reg() return
> only 0 on success and preserve negative error codes.
>
> [...]
Here is the summary with links:
- [net,v1,1/1] net: usb: lan78xx: Sanitize return values of register read/write functions
https://git.kernel.org/netdev/net/c/cfa693bf9d53
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