Re: [PATCH] iio: backend: document @chan in iio_backend_oversampling_ratio_set kernel-doc comment
From: sukrut heroorkar
Date: Wed Oct 29 2025 - 07:22:14 EST
On Wed, Oct 29, 2025 at 1:43 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxx> wrote:
>
> On Wed, Oct 29, 2025 at 01:21:16PM +0530, Sukrut Heroorkar wrote:
> > Buidling with W=1 reports:
> > Warning: drivers/iio/industrialio-backend.c:727 function parameter 'chan'
> > not described in 'iio_backend_oversampling_ratio_set'
> >
> > The @chan parameter was added when iio_backend_oversampling_ratio_set() was
> > updated so the contexts could specify the channel, but the parameter was
> > never documented. Document @chan to silence this warning.
>
> There is already more comprehensive patch available:
> https://lore.kernel.org/linux-iio/20251028093326.1087660-1-kriish.sharma2006@xxxxxxxxx/
Thanks for the update, Andy.
Regards,
Sukurt Heroorkar
>
> --
> With Best Regards,
> Andy Shevchenko
>
>