Re: [PATCH] staging: iio: frequency: ad9832/ad9834: use div64_ul instead of do_div
From: Dan Carpenter
Date: Tue Jun 30 2026 - 09:34:27 EST
On Tue, Jun 30, 2026 at 03:07:55PM +0200, Joshua Crofts wrote:
> On Tue, 30 Jun 2026 15:02:02 +0300
> Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:
> > Since we are getting more "fixes" in the area, perhaps it's a time to add
> > a comment in the code summarizing the mentioned discussion?
> >
>
> Good idea. I'd also mention Coccinelle and its false positive in the comment
> since patches trying to fix this always mention it (my attempt included).
Generally, if the code is old then someone has already looked at the
static checker warnings and decided the original code is fine. You
should look up old static checker warnings on lore before sending a
patch.
regards,
dan carpenter