Re: [PATCH v5 2/4] clk: vc3: Fix 64 by 64 division

Stephen Boyd
2023-09-11T22:00:47Z

Quoting Biju Das (2023-08-24 03:48:10)
> Fix the below cocci warnings by replacing do_div()->div64_ul() and
> bound the result with a max value of U16_MAX.
>
> cocci warnings:
> drivers/clk/clk-versaclock3.c:404:2-8: WARNING: do_div() does a
> 64-by-32 division, please consider using div64_ul instead.
>
> Reported-by: Julia Lawall <julia.lawall@inria.fr>
> Closes: https://lore.kernel.org/r/202307270841.yr5HxYIl-lkp@intel.com/
> Fixes: 6e9aff555db7 ("clk: Add support for versa3 clock driver")
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> ---

Applied to clk-fixes