[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161825880883.1346.7456912721949180791.git-patchwork-notify@kernel.org>
Date: Mon, 12 Apr 2021 20:20:08 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Colin Ian King <colin.king@...onical.com>
Cc: rajur@...lsio.com, davem@...emloft.net, kuba@...nel.org,
rahul.lakkireddy@...lsio.com, kumaras@...lsio.com,
ganeshgr@...lsio.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] cxgb4: Fix unintentional sign extension issues
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Fri, 9 Apr 2021 12:08:57 +0100 you wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The shifting of the u8 integers f->fs.nat_lip[] by 24 bits to
> the left will be promoted to a 32 bit signed int and then
> sign-extended to a u64. In the event that the top bit of the u8
> is set then all then all the upper 32 bits of the u64 end up as
> also being set because of the sign-extension. Fix this by
> casting the u8 values to a u64 before the 24 bit left shift.
>
> [...]
Here is the summary with links:
- cxgb4: Fix unintentional sign extension issues
https://git.kernel.org/netdev/net-next/c/dd2c79677375
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