[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <161661360800.12280.1702538516592660744.git-patchwork-notify@kernel.org>
Date: Wed, 24 Mar 2021 19:20:08 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Yangbo Lu <yangbo.lu@....com>
Cc: netdev@...r.kernel.org, richardcochran@...il.com
Subject: Re: [PATCH] ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64
calcalation
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Tue, 23 Mar 2021 16:02:29 +0800 you wrote:
> Current calculation for diff of TMR_ADD register value may have
> 64-bit overflow in this code line, when long type scaled_ppm is
> large.
>
> adj *= scaled_ppm;
>
> This patch is to resolve it by using mul_u64_u64_div_u64().
>
> [...]
Here is the summary with links:
- ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64 calcalation
https://git.kernel.org/netdev/net/c/f51d7bf1dbe5
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