Re: [RFC v3 2/4] kernel/api: enable kerneldoc-based API specifications

From: Randy Dunlap
Date: Sun Jul 20 2025 - 23:17:58 EST




On 7/20/25 7:54 PM, Sasha Levin wrote:
>> 2. It looks like it only checks .c files, omitting header files. (?)
>> Some APIs are only present in header files (e.g., all of <linux/list.h> is
>> either macros or inline functions).
>
> I was trying to focus on the userspace side of things, so I didn't think
> we'll have anything in header files, but I also don't have an objection
> to extending it to scan headers too.

That's probably sufficient, at least for now.

Thanks.
--
~Randy