[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdV_tcsOZCBRWxbRwdfBeeh1-MJSNqw4U6YLnjOznLUQnA@mail.gmail.com>
Date: Mon, 11 Feb 2019 16:44:37 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Simon Horman <horms+renesas@...ge.net.au>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Magnus Damm <magnus.damm@...il.com>,
Linux-Renesas <linux-renesas-soc@...r.kernel.org>,
linux-clk <linux-clk@...r.kernel.org>,
Fabrizio Castro <fabrizio.castro@...renesas.com>,
Biju Das <biju.das@...renesas.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v5 3/6] math64: New DIV64_U64_ROUND_CLOSEST helper
On Mon, Feb 11, 2019 at 4:22 PM Sergei Shtylyov
<sergei.shtylyov@...entembedded.com> wrote:
> On 02/11/2019 04:58 PM, Simon Horman wrote:
> > Provide DIV64_U64_ROUND_CLOSEST helper which performs division rounded to
> > the closes integer using an unsigned 64bit dividend and divisor.
>
> Closest?
>
> > This will be used in a follow-up patch to allow calculation of clock
> > divisors with high frequency parents in the R-Car Gen3 CPG MSSR driver
> > where ovefolow occurs if either the dividend or divisor is 32bit.
overflow
> > Signed-off-by: Simon Horman <horms+renesas@...ge.net.au>
With the above fixed:
Reviewed-by: Geert Uytterhoeven <geert+renesas@...der.be>
Note that I can fix the above while applying to my clk-renesas branch.
Andrew: an Acked-by would be appreciated.
Thanks!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists