[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172198922946.6762.1014602508921624498.git-patchwork-notify@kernel.org>
Date: Fri, 26 Jul 2024 10:20:29 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Ma Ke <make24@...as.ac.cn>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, liujunliang_ljl@....com, syoshida@...hat.com,
andrew@...n.ch, horms@...nel.org, linux-usb@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH net v4] net: usb: sr9700: fix uninitialized variable use in
sr_mdio_read
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists