Re: [PATCH v7 0/6] kernel-doc: add support for documenting vars

From: Jonathan Corbet

Date: Mon Dec 22 2025 - 16:53:31 EST


Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> writes:

> Hi Jon,
>
> Please ignore v6. I ended adding a R-B at patch 6 instead of on patch 5.
>
> As suggested and discussed with Randy, this small series add support
> for documenting variables using kernel-doc.
>
> - patch 1: add support for the new feature;
> - patch 2: extends to support DEFINE_*;
> - patch 3: document two media vars;
> - patch 4: fix an issue on kernel-doc.rst markups and automarkup;
> - patch 5: document it;
> - patch 6: better handle DEFINE_ macros when they don't have static/type;
>
> Since version 5, I'm using "c:macro" to describe variables, as it
> avoids Sphinx C domain to try parse the variable. This makes it more
> flexible and easier to maintain in long term.

I've applied the set, thanks.

jon