[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170601091313.GG20170@codeaurora.org>
Date: Thu, 1 Jun 2017 02:13:13 -0700
From: Stephen Boyd <sboyd@...eaurora.org>
To: Sudeep Holla <sudeep.holla@....com>
Cc: linux-clk@...r.kernel.org,
Michael Turquette <mturquette@...libre.com>,
linux-kernel@...r.kernel.org
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 <mturquette@...libre.com>
> Cc: Stephen Boyd <sboyd@...eaurora.org>
> Signed-off-by: Sudeep Holla <sudeep.holla@....com>
> ---
Applied to clk-next
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists