lkml.org 
[lkml]   [2023]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net] net: phy: nxp-c45-tja11xx: fix unsigned long multiplication overflow
From
Date
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


\
 
 \ /
  Last update: 2023-04-08 04:51    [W:0.054 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site