Re: [PATCH v4] staging: iio: frequency: ad9832/ad9834: add comment explaining do_div usage

From: Jonathan Cameron

Date: Sun Aug 16 2026 - 16:09:16 EST


On Sat, 8 Aug 2026 23:12:37 +0300
Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:

> On Fri, Aug 07, 2026 at 03:17:03PM +0530, Mohamad Raizudeen wrote:
> > Previous attempts to change do_div() to div64_ul were rejected because
> > mclk will always fit within 32 fits for this hardware, making do_div()
> > safe to use.
> >
> > However, Coccinelle continues to flag this as a false positive. To
> > prevent future developers from submitting unnecessary fixes, add a
> > comment explaining why do_div() is intentionally kept.
>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
>
Applied to the testing branch of iio.git. That will become
togreg and turn up in linux-next after I rebase on rc1 (in a few
weeks time)

Thanks,

Jonathan