[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160413.224341.183773545765700897.davem@davemloft.net>
Date: Wed, 13 Apr 2016 22:43:41 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: wsa@...-dreams.de
Cc: netdev@...r.kernel.org, linux-renesas-soc@...r.kernel.org,
sergei.shtylyov@...entembedded.com
Subject: Re: [PATCH RESEND] net: ethernet: renesas: ravb_main: test clock
rate to avoid division by 0
From: Wolfram Sang <wsa@...-dreams.de>
Date: Fri, 8 Apr 2016 13:28:42 +0200
> From: Wolfram Sang <wsa+renesas@...g-engineering.com>
>
> The clk API may return 0 on clk_get_rate, so we should check the result before
> using it as a divisor.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@...g-engineering.com>
> Acked-by: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Applied.
Powered by blists - more mailing lists