Messages in this thread | | | From | Nixiaoming <> | Subject | RE: [PATCH v2 1/2] clk:Fix divide-by-zero in divider_ro_round_rate_parent | Date | Sat, 30 Mar 2019 13:40:38 +0000 |
| |
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@huawei.com> > > >Please fix the commit text. >Reviewed-by: Mukesh Ojha <mojha@codeaurora.org> > >Cheers, >-Mukesh >
Thanks
| |