Re: [PATCH 0/2] Move kernel-doc to tools/docs

From: Jonathan Corbet

Date: Fri Jan 16 2026 - 12:48:52 EST


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

> Em Wed, 14 Jan 2026 12:24:31 -0700
> Jonathan Corbet <corbet@xxxxxxx> escreveu:
>
>> Randy Dunlap <rdunlap@xxxxxxxxxxxxx> writes:
>>
>> > I do many of these on a regular basis:
>> >
>> > $ ./scripts/kernel-doc -none -Wall <path_to_source_file>
>> >
>> > Will I still be able to do that (by using ./tools/doc/kernel-doc ...)?
>>
>> Yes. The tool moves, but its functionality remains unchanged.
>
> That's actually a good point: should we preserve a link on scripts
> pointing to ../tools/doc/kernel-doc? I suspect that a change like
> that could break some machinery on several CI tools and scripts
> out there. If so, it could be useful to keep a link - at least for
> a couple of kernel releases.

So is the location of kernel-doc part of our ABI, or an internal detail?
:)

I'm not deeply opposed to maintaining the symlink, though I'd rather
not. It won't be for "a couple of releases", though; if the symlink is
there, nothing will ever change.

Thanks,

jon