Re: [PATCH v4] staging: iio: frequency: ad9832/ad9834: add comment explaining do_div usage
Joshua Crofts <[email protected]>
| Newsgroups | org.kernel.vger.linux-iio,dev.linux.lists.linux-staging,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 7 Aug 2026 15:17:03 +0530 Mohamad Raizudeen <[email protected]> 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. > > Suggested-by: Andy Shevchenko <[email protected]> > Signed-off-by: Mohamad Raizudeen <[email protected]> > --- Fine now. Reviewed-by: Joshua Crofts <[email protected]> -- Kind regards, Joshua Crofts