Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751544AbdFAJNR (ORCPT ); Thu, 1 Jun 2017 05:13:17 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:54350 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751090AbdFAJNP (ORCPT ); Thu, 1 Jun 2017 05:13:15 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org DAE1B60618 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Thu, 1 Jun 2017 02:13:13 -0700 From: Stephen Boyd To: Sudeep Holla Cc: linux-clk@vger.kernel.org, Michael Turquette , linux-kernel@vger.kernel.org Subject: Re: [PATCH] clk: scpi: fix return type of __scpi_dvfs_round_rate Message-ID: <20170601091313.GG20170@codeaurora.org> References: <1495124368-26191-1-git-send-email-sudeep.holla@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1495124368-26191-1-git-send-email-sudeep.holla@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 624 Lines: 18 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 > Cc: Stephen Boyd > Signed-off-by: Sudeep Holla > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project