[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161825880887.1346.11596655945494608028.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: sgoutham@...vell.com, davem@...emloft.net, kuba@...nel.org,
ganapatrao.kulkarni@...iumnetworks.com, david.daney@...ium.com,
svangala@...ium.com, tsrinivasulu@...iumnetworks.com,
linux-arm-kernel@...ts.infradead.org, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: thunderx: Fix unintentional sign extension issue
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Fri, 9 Apr 2021 14:07:26 +0100 you wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The shifting of the u8 integers rq->caching by 26 bits to
> the left will be promoted to a 32 bit signed int and then
> sign-extended to a u64. In the event that rq->caching is
> greater than 0x1f then all then all the upper 32 bits of
> the u64 end up as also being set because of the int
> sign-extension. Fix this by casting the u8 values to a
> u64 before the 26 bit left shift.
>
> [...]
Here is the summary with links:
- net: thunderx: Fix unintentional sign extension issue
https://git.kernel.org/netdev/net-next/c/e701a2584036
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