2017-06-01 09:13:17

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH] clk: scpi: fix return type of __scpi_dvfs_round_rate

On 05/18, Sudeep Holla wrote:
> The frequencies above the maximum value of signed integer(i.e. 2^31 -1)
> will overflow with the current code.
>
> This patch fixes the return type of __scpi_dvfs_round_rate from 'int'
> to 'unsigned long'.
>
> Fixes: cd52c2a4b5c4 ("clk: add support for clocks provided by SCP(System Control Processor)")
> Cc: Michael Turquette <[email protected]>
> Cc: Stephen Boyd <[email protected]>
> Signed-off-by: Sudeep Holla <[email protected]>
> ---

Applied to clk-next

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project