Re: [PATCH net v2] net: ethernet: mtk_eth_soc: fix uninitialized variable

patchwork-bot+netdevbpf
2023-09-11T09:40:32Z

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@davemloft.net>:

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.