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

From: Peng Fan

Date: Mon Nov 09 2026 - 07:48:49 EST


On Mon, Nov 09, 2026 at 01:31:38PM +0200, Stefan Ghetu wrote:
>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>

It will not overflow. See this:
https://lore.kernel.org/all/6181060a-ae36-4d0f-bfe0-c1e5c8a8ab3c@xxxxxxxxx/

If we do want to silence some warnings from tools, drop the Fixes tag,
and update to commit message accordingly.

Regards
Peng