Re: [PATCH net v2] net: ethernet: mtk_eth_soc: fix uninitialized variable
From: patchwork-bot+netdevbpf
Date: Mon Sep 11 2023 - 16:48:46 EST
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:
On Sun, 10 Sep 2023 22:40:30 +0100 you wrote:
> Variable dma_addr in function mtk_poll_rx can be uninitialized on
> some of the error paths. In practise this doesn't matter, even random
> data present in uninitialized stack memory can safely be used in the
> way it happens in the error path.
>
> However, in order to make Smatch happy make sure the variable is
> always initialized.
>
> [...]
Here is the summary with links:
- [net,v2] net: ethernet: mtk_eth_soc: fix uninitialized variable
https://git.kernel.org/netdev/net/c/e10a35abb3da
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html