Re: [PATCH v2] clk: imx: pll14xx: Fix potential integer overflow

From: Daniel Baluta

Date: Mon Nov 09 2026 - 06:47:56 EST


On 11/9/26 13:31, Stefan Ghetu wrote:
> [You don't often get email from stefan.ghetu@xxxxxxx. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> From: Florin Pavelescu <florin.pavelescu@xxxxxxx>
>
> Cast to u64, so that multiplications and additions will be done
> in 64-bit arithmetic and the possibility of integer overflow is eliminated.
>
> Fixes: 53990cf9d5b48 ("clk: imx: pll14xx: consolidate rate calculation")
> Signed-off-by: Florin Pavelescu <florin.pavelescu@xxxxxxx>
> Signed-off-by: Stefan Ghetu <stefan.ghetu@xxxxxxx>

Reviewed-by: Daniel Baluta <daniel.baluta@xxxxxxx>