[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZLr6m5wHBSLKensj@surfacebook>
Date: Sat, 22 Jul 2023 00:37:31 +0300
From: andy.shevchenko@...il.com
To: Randy Dunlap <rdunlap@...radead.org>
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Nuno Sa <nuno.sa@...log.com>
Subject: Re: [PATCH v2 6/8] iio: core: Fix issues and style of the comments
Fri, Jul 21, 2023 at 01:48:34PM -0700, Randy Dunlap kirjoitti:
> On 7/21/23 10:00, Andy Shevchenko wrote:
...
> > - * Return: 0 for successful release
> > + * Returns: 0 for successful release.
> As documented in Documentation/doc-guide/kernel-doc.rst:
> The return value, if any, should be described in a dedicated section
> named ``Return``.
>
> However, as you (and I) have found, "Returns:" also works as a section name.
Plural allowed for some section(s):
'\s*(\@[.\w]+|\@\.\.\.|description|context|returns?|notes?|examples?)\s*:([^:].*)?$'
> Reviewed-by: Randy Dunlap <rdunlap@...radead.org>
Thank you!
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists