RE: [PATCH] clk: vc3: Fix 64 by 64 division

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Stephen Boyd,

Thanks for the feedback.

> Subject: Re: [PATCH] clk: vc3: Fix 64 by 64 division
> 
> Quoting Biju Das (2023-08-01 06:55:52)
> > 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@xxxxxxxx>
> > Closes:
> > Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> > ---
> 
> Any Fixes tag?

Yes, the below commit in next. 

Fixes: 6e9aff555db7 ("clk: Add support for versa3 clock driver"),

Not sure the commit ID will change, when it is applied to mainline??
That is the reason I haven't provided fixes tag.

I will provide, if it is required for patches in next.

Cheers,
Biju




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux