Messages in this thread | | | Subject | Re: [PATCH net] net: phy: nxp-c45-tja11xx: fix unsigned long multiplication overflow | From | patchwork-bot+netdevbpf@kernel ... | Date | Sat, 08 Apr 2023 02:50:18 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (main) by Jakub Kicinski <kuba@kernel.org>:
On Thu, 6 Apr 2023 12:59:53 +0300 you wrote: > Any multiplication between GENMASK(31, 0) and a number bigger than 1 > will be truncated because of the overflow, if the size of unsigned long > is 32 bits. > > Replaced GENMASK with GENMASK_ULL to make sure that multiplication will > be between 64 bits values. > > [...]
Here is the summary with links: - [net] net: phy: nxp-c45-tja11xx: fix unsigned long multiplication overflow https://git.kernel.org/netdev/net/c/bdaaecc127d4
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |