On 09/26/17 10:59, Mauro Carvalho Chehab wrote: > Add a new section to describe kernel-doc arguments, > adding examples about how identation should happen, as failing > to do that causes Sphinx to do the wrong thing. > > Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx> > --- > Documentation/doc-guide/kernel-doc.rst | 44 +++++++++++++++++++++++++++++++--- > 1 file changed, 41 insertions(+), 3 deletions(-) > > diff --git a/Documentation/doc-guide/kernel-doc.rst b/Documentation/doc-guide/kernel-doc.rst > index b24854b5d6be..7a3f5c710c0b 100644 > --- a/Documentation/doc-guide/kernel-doc.rst > +++ b/Documentation/doc-guide/kernel-doc.rst > @@ -112,16 +112,17 @@ Example kernel-doc function comment:: > > /** > * foobar() - Brief description of foobar. > - * @arg: Description of argument of foobar. > + * @argument1: Description of parameter argument1 of foobar. > + * @argument1: Description of parameter argument2 of foobar. @argument2: > * > * Longer description of foobar. > * > * Return: Description of return value of foobar. > */ > - int foobar(int arg) > + int foobar(int argument1, char *argument2) -- ~Randy -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html