Re: [PATCH] iio: backend: document @chan in iio_backend_oversampling_ratio_set kernel-doc comment
From: Andy Shevchenko
Date: Wed Oct 29 2025 - 04:13:55 EST
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/
--
With Best Regards,
Andy Shevchenko