Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1370309

Re: [PATCH 2/6] net: ethernet: renesas: ravb_main: test clock rate to avoid division by 0

From Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/6] net: ethernet: renesas: ravb_main: test clock rate to avoid division by 0
Date 2016-04-04 00:30 +0200
Message-ID <rjYGS-1Ey-25@gated-at.bofh.it> (permalink)
References <r8nAZ-682-5@gated-at.bofh.it> <r8nB0-682-13@gated-at.bofh.it> <rjXUt-15s-3@gated-at.bofh.it>
Organization Cogent Embedded

Show all headers | View raw


On 04/04/2016 12:36 AM, Wolfram Sang wrote:

>> From: Wolfram Sang <wsa+renesas@sang-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@sang-engineering.com>
>
> Ping.

    http://patchwork.ozlabs.org/patch/591160/

    I have no idea why it's marked this way... Dave?

MBR, Sergei

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: [PATCH 2/6] net: ethernet: renesas: ravb_main: test clock rate  to avoid division by 0 Wolfram Sang <wsa@the-dreams.de> - 2016-04-03 23:40 +0200
  Re: [PATCH 2/6] net: ethernet: renesas: ravb_main: test clock rate to  avoid division by 0 Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-04-04 00:30 +0200

csiph-web