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

Daniel Baluta daniel.baluta at oss.nxp.com
Mon Nov 9 03:51:09 PST 2026


On 11/9/26 13:31, Stefan Ghetu wrote:
> [You don't often get email from stefan.ghetu at nxp.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> From: Florin Pavelescu <florin.pavelescu at nxp.com>
> 
> 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 at nxp.com>
> Signed-off-by: Stefan Ghetu <stefan.ghetu at nxp.com>

Reviewed-by: Daniel Baluta <daniel.baluta at nxp.com>





More information about the linux-arm-kernel mailing list