[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <E490CD805F7529488761C40FD9D26EF12AAC8ED0@DGGEMM527-MBS.china.huawei.com>
Date: Sat, 30 Mar 2019 13:40:38 +0000
From: Nixiaoming <nixiaoming@...wei.com>
To: Mukesh Ojha <mojha@...eaurora.org>,
"jbrunet@...libre.com" <jbrunet@...libre.com>,
"mturquette@...libre.com" <mturquette@...libre.com>,
"sboyd@...eaurora.org" <sboyd@...eaurora.org>,
"soren.brinkmann@...inx.com" <soren.brinkmann@...inx.com>
CC: "linux-clk@...r.kernel.org" <linux-clk@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v2 1/2] clk:Fix divide-by-zero in
divider_ro_round_rate_parent
On 3/30/2019 5:44 PM, Mukesh Ojha wrote:
>On 3/30/2019 8:01 AM, nixiaoming wrote:
>> In the function divider_recalc_rate() The judgment of the return value of
>> _get_div() indicates that the return value of _get_div() may be 0.
>
>s/may be/can be
Thank you for your comments.
I will fix it in a later patch.
>
>> In order to avoid the divide-by-zero error, add check the return values.
>s/add check the/add check for
>
Thank you for your comments.
I will fix it in a later patch.
>> of _get_div() in the divider_ro_round_rate_parent()
>>
>> Signed-off-by: nixiaoming <nixiaoming@...wei.com>
>
>
>Please fix the commit text.
>Reviewed-by: Mukesh Ojha <mojha@...eaurora.org>
>
>Cheers,
>-Mukesh
>
Thanks
Powered by blists - more mailing lists