Re: [PATCH] kernel-doc: add support for handling global variables
From: Randy Dunlap
Date: Mon Nov 17 2025 - 12:52:03 EST
On 11/17/25 1:45 AM, Mauro Carvalho Chehab wrote:
>> So, I grabbed some global data from 6-8 places in the kernel and put them intoinit/kdoc-globals-test.c. Then I modified Documentation/core-api/kernel-api.rst
>> like this at the end of that file:
>>
>> +
>> +Kernel Globals
>> +==========================
>> +
>> +.. kernel-doc:: init/kdoc-globals-test.c
>> + :identifiers:
>>
>> The html output says
>> "Kernel Globals"
>> but nothing else.
>
> With the version I sent yesterday, after replacing:
>
> global -> var
>
> the symbols are there.
Great, thanks. I'll look at it later today.
--
~Randy