Re: [PATCH] kthread: Fix documentation build warning

From: Jonathan Corbet
Date: Mon Jul 24 2017 - 17:32:11 EST


On Mon, 24 Jul 2017 14:24:44 -0700
Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:

> > + * @arg...: arguments for @namefmt.
> > *
>
> Hm, Documentation/doc-guide/kernel-doc.rst says:
> If a function parameter is ``...`` (varargs), it should be listed
> in kernel-doc notation as: ``@...:``.
>
> but the patch here is for a macro, not a function.
> Does that make a difference?

Macros are a little different. I've tried a couple of times to figure out
and rationalize the "..." handling, should maybe do so again. Meanwhile,
this makes the warning go away, enough for one day :)

Thanks,

jon