Re: [PATCH][next] octeontx2-af: Fix uninitialized variable val
From: patchwork-bot+netdevbpf
Date: Fri Sep 17 2021 - 09:10:19 EST
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Fri, 17 Sep 2021 12:57:47 +0100 you wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> In the case where the condition !is_rvu_otx2(rvu) is false variable
> val is not initialized and can contain a garbage value. Fix this by
> initializing val to zero and bit-wise or'ing in BIT_ULL(51) to val
> for the true condition case of !is_rvu_otx2(rvu).
>
> [...]
Here is the summary with links:
- [next] octeontx2-af: Fix uninitialized variable val
https://git.kernel.org/netdev/net-next/c/d853f1d3c900
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html