Re: [PATCH v2] iio: fix kernel-doc warnings in industrialio-backend.c

From: Kriish Sharma

Date: Tue Oct 28 2025 - 05:36:57 EST


Hi Andy, David,

Thank you both for the reviews and helpful suggestions!
I've sent v3 now, which includes the consistency fixes (changing
Return: to RETURNS: across the file) and the other points you
mentioned.

https://lore.kernel.org/all/20251028093326.1087660-1-kriish.sharma2006@xxxxxxxxx/

Appreciate your time and feedback.

Best regards,
Kriish


On Tue, Oct 28, 2025 at 2:39 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxx> wrote:
>
> On Mon, Oct 27, 2025 at 10:35:02AM -0500, David Lechner wrote:
> > On 10/27/25 4:21 AM, KRIISHSHARMA wrote:
>
> ...
>
> > > * iio_backend_oversampling_ratio_set - set the oversampling ratio
> > > * @back: Backend device
> > > + * @chan: Channel number
> > > * @ratio: The oversampling ratio - value 1 corresponds to no oversampling.
> > > *
> > > * Return:
> >
> > I guess it would not hurt to change this to RETURNS: to match the
> > rest of the file either.
>
> Good catch! KRIISHSHARMA, please check the whole file for this as it's not a
> direct mistake from kernel-doc perspective, there is a mistake from consistency
> point of view and hence needs to be addressed.
>
> ...
>
> > > + * RETURNS:
> > > + * Pointer to the driver private data associated with the backend.
>
> --
> With Best Regards,
> Andy Shevchenko
>
>