On Sun, 07 Jun 2026 21:11:37 +0530, Naveen Kumar Chaudhary wrote:
> get_clk_cfg() and get_clk_div_rate() return 'int' but operate on
> 'unsigned long' clock frequencies. If a supported frequency exceeds
> INT_MAX, the return value gets silently truncated or sign-extended,
> causing the caller to misinterpret valid clock rates.
> 
> Change both functions to return 'unsigned long' to match the data type
> they actually operate on. This matches the callers accepted data types
> as well.
> 
> [...]

Applied, thanks!

[1/1] serial: msm_geni: fix clock rate return type truncation
      
https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/commit/6add0b071e18

Best regards,
-- 
// Casey (she/they)


Reply via email to