summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorMaxime Chevallier <maxime.chevallier@bootlin.com>2026-01-05 16:18:39 +0100
committerJakub Kicinski <kuba@kernel.org>2026-01-06 17:13:34 -0800
commit13ff3e724207f579d3c814ee05516fefcb4f32e8 (patch)
treed77853b792baa16cbcee8f87848e852b8979dbae /rust/kernel/alloc/kvec/git@git.tavy.me:linux.git
parente5c8eda39a9fc1547d1398d707aa06c1d080abdd (diff)
net: sfp: return the number of written bytes for smbus single byte access
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@bootlin.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20260105151840.144552-1-maxime.chevallier@bootlin.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions