Hello:
This patch was applied to netdev/net.git (main) by David S. Miller davem@davemloft.net:
On Thu, 25 Jul 2024 10:29:42 +0800 you wrote:
It could lead to error happen because the variable res is not updated if the call to sr_share_read_word returns an error. In this particular case error code was returned and res stayed uninitialized. Same issue also applies to sr_read_reg.
This can be avoided by checking the return value of sr_share_read_word and sr_read_reg, and propagating the error if the read operation failed.
[...]
Here is the summary with links: - [net,v4] net: usb: sr9700: fix uninitialized variable use in sr_mdio_read https://git.kernel.org/netdev/net/c/08f3a5c38087
You are awesome, thank you!