Re: [PATCH v4] staging: iio: frequency: ad9832/ad9834: add comment explaining do_div usage
Jonathan Cameron <[email protected]>
| Newsgroups | org.kernel.vger.linux-iio,dev.linux.lists.linux-staging,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260816210901.55959c11@jic23-huawei> |
On Sat, 8 Aug 2026 23:12:37 +0300 Andy Shevchenko <[email protected]> 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 <[email protected]> > 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