[PATCH 0/2] clk: ti: Fix up error checks in set_rate (and div 0 error)

Tero Kristo t-kristo at ti.com
Thu Aug 21 06:44:31 PDT 2014


On 08/18/2014 07:56 PM, Nishanth Menon wrote:
> Hi,
> The following patches are based on v3.17-rc1
> Prior to this series: http://slexy.org/view/s20QH6PW4x (notice the /0 div error spam at initial boot log)
> After this series: http://slexy.org/view/s20tPNXPf4

Yeah, valid findings. However, you did not root-cause the problem, just 
added a bandaid for the most obvious errors. I will queue these patches 
for 3.17-rc fixes anyway, but will post an actual fix in a bit.

-Tero

>
> Nishanth Menon (2):
>    clk: ti: divider: Provide error check for incoming parameters in
>      set_rate
>    clk: ti: dra7-atl: Provide error check for incoming parameters in
>      set_rate
>
>   drivers/clk/ti/clk-dra7-atl.c |    6 +++++-
>   drivers/clk/ti/divider.c      |    7 ++++++-
>   2 files changed, 11 insertions(+), 2 deletions(-)
>




More information about the linux-arm-kernel mailing list