Re: [PATCH net] net: sfp: return the number of written bytes for smbus single byte access
From: patchwork-bot+netdevbpf
Date: Tue Jan 06 2026 - 20:23:29 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 5 Jan 2026 16:18:39 +0100 you wrote:
> We expect the SFP write accessors to return the number of written bytes.
> We fail to do so for single-byte smbus accesses, which may cause errors
> when setting a module's high-power state and for some cotsworks modules.
>
> Let's return the amount of written bytes, as expected.
>
> Fixes: 7662abf4db94 ("net: phy: sfp: Add support for SMBus module access")
> Signed-off-by: Maxime Chevallier <maxime.chevallier@xxxxxxxxxxx>
>
> [...]
Here is the summary with links:
- [net] net: sfp: return the number of written bytes for smbus single byte access
https://git.kernel.org/netdev/net/c/13ff3e724207
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html